]> git.baikalelectronics.ru Git - kernel.git/commit
[media] hackrf: fix possible null ptr on debug printing
authorAntti Palosaari <crope@iki.fi>
Wed, 21 Oct 2015 21:02:41 +0000 (19:02 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 17:25:29 +0000 (15:25 -0200)
commit8ba94c49ea061c94574b1d498465e2f6c2283646
treece837b4bbdcc68ea91f4b2a156b017fbb34194f9
parentd3fe25b5226a78472f702a3574d82e5f8374a46d
[media] hackrf: fix possible null ptr on debug printing

drivers/media/usb/hackrf/hackrf.c:1533 hackrf_probe()
error: we previously assumed 'dev' could be null (see line 1366)

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/hackrf/hackrf.c