From: Peter Huewe peterhu...@gmx.de
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
On Sun, Jan 30, 2011 at 2:33 PM, Peter Huewe peterhu...@gmx.de wrote:
From: Peter Huewe peterhu...@gmx.de
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