commit | 61ca1500c5ee04f2be34a4f58bb9baed0214b7a9 | [log] [tgz] |
---|---|---|
author | Peter Huewe <PeterHuewe@gmx.de> | Sun Jan 30 16:33:01 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Mar 21 20:32:19 2011 -0300 |
tree | ef71d383209c305352710cfac4a34fe068886af6 | |
parent | 7ee9e64a3d7379fd443090880158374181f754cf [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>