]> git.baikalelectronics.ru Git - kernel.git/commit
[media] ngene: preventing dereferencing a NULL pointer
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 28 Apr 2015 13:02:07 +0000 (10:02 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Apr 2015 16:33:06 +0000 (13:33 -0300)
commit176d43207993472339301489fa97cc44db5f3d59
treebba63236f40fe0ec67f8996c119bfc47d36e2b06
parent921fd72280f653cbd7fe8e639c4bdefc04fc54a1
[media] ngene: preventing dereferencing a NULL pointer

As reported by smatch:
drivers/media/pci/ngene/ngene-core.c:1529 init_channel() error: we previously assumed 'chan->fe' could be null (see line 1521)

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/ngene/ngene-core.c