Files
linux/drivers/staging/line6
Alexey Khoroshilov c7f268df3f staging: line6: do not return 0 from probe if no initialization done
There is a strange "return 0" in line6_probe() before any initialization of
the module is done. It can lead to NULL pointer dereference in other functions.
The patch proposes to return -ENODEV in this case.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-06-19 17:12:01 -07:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
2014-03-17 12:08:42 -07:00
…