summaryrefslogtreecommitdiff
path: root/drivers/oprofile/buffer_sync.c
diff options
context:
space:
mode:
authorPeter Huewe <PeterHuewe@gmx.de>2011-01-30 16:33:01 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 20:32:19 -0300
commit61ca1500c5ee04f2be34a4f58bb9baed0214b7a9 (patch)
treeef71d383209c305352710cfac4a34fe068886af6 /drivers/oprofile/buffer_sync.c
parent7ee9e64a3d7379fd443090880158374181f754cf (diff)
[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/oprofile/buffer_sync.c')
0 files changed, 0 insertions, 0 deletions