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 <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-19 17:12:01 -07:00
..
audio.c
audio.h
capture.c
capture.h
driver.c staging: line6: do not return 0 from probe if no initialization done 2014-06-19 17:12:01 -07:00
driver.h
Kconfig
Makefile
midi.c
midi.h
midibuf.c
midibuf.h
pcm.c
pcm.h
playback.c
playback.h
pod.c
pod.h
podhd.c
podhd.h
revision.h
toneport.c
toneport.h
usbdefs.h
variax.c
variax.h