diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-28 15:07:01 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-30 18:34:08 +0200 |
commit | 3c71d978c5e6dadfc798e84290014f713f56c97b (patch) | |
tree | 54cb60e8875825037bd99ce6a0942b08f8fb9b96 /drivers/media/i2c | |
parent | [media] ngene: preventing dereferencing a NULL pointer (diff) | |
download | linux-3c71d978c5e6dadfc798e84290014f713f56c97b.tar.xz linux-3c71d978c5e6dadfc798e84290014f713f56c97b.zip |
[media] saa7164: Check if dev is NULL before dereferencing it
As reported by smatch:
drivers/media/pci/saa7164/saa7164-core.c:631 saa7164_irq() warn: variable dereferenced before check 'dev' (see line 621)
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions