summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7121.h
diff options
context:
space:
mode:
authorPeter Huewe <PeterHuewe@gmx.de>2011-01-30 20:33:01 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 00:32:19 +0100
commit61ca1500c5ee04f2be34a4f58bb9baed0214b7a9 (patch)
treeef71d383209c305352710cfac4a34fe068886af6 /drivers/media/video/saa7121.h
parent[media] cx18: fix kernel oops when setting MPEG control before capturing (diff)
downloadlinux-61ca1500c5ee04f2be34a4f58bb9baed0214b7a9.tar.xz
linux-61ca1500c5ee04f2be34a4f58bb9baed0214b7a9.zip
[media] video/saa7164: Fix sparse warning: Using plain integer as NULL pointer
This patch fixes the warning "Using plain integer as NULL pointer", generated by sparse, by replacing if (var == 0) with if (!var) after an allocation and all other offending 0s with NULL. KernelVersion: linus' tree-1f0324c Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7121.h')
0 files changed, 0 insertions, 0 deletions