[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)
commiteb35cf47c386fa2088580ff4f450abe8a6f9402e
treece837b4bbdcc68ea91f4b2a156b017fbb34194f9
parentdfcf36d90489a403d8d833f0f73d84a8d68b5570
[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