[media] dib0700: fix possible NULL pointer dereference
authorPatrick Boettcher <pboettcher@kernellabs.com>
Sun, 3 Apr 2011 15:44:25 +0000 (12:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 4 Apr 2011 18:58:20 +0000 (15:58 -0300)
commit71682520b33abef3f6c3fb618cb530826f472476
tree7e389982f1b48a96d99e2540796fc17c5898191b
parentb934c20de1398d4a82d2ecfeb588a214a910f13f
[media] dib0700: fix possible NULL pointer dereference

Seems like 'adap->fe' test for NULL was meant to be before we dereference
that pointer.

Signed-off-by: Mariusz Kozlowski <mk@lab.zgora.pl>
Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dib0700_devices.c