[PATCH] staging/line6: Fix sparse warning 'Using plain integer as NULL pointer'

Greg KH greg at kroah.com
Wed Dec 8 22:30:23 UTC 2010


On Tue, Dec 07, 2010 at 11:38:02PM +0100, Peter Huewe wrote:
> This patch fixes the warning generated by sparse: "Using plain integer
> as NULL pointer" by replacing the offending 0s with NULL.
> 
> Signed-off-by: Peter Huewe <peterhuewe at gmx.de>
> ---
> KernelVersion: linux-next-20101207
> (line6 staging driver does currently _not_ build, but this is not caused by this patch.
> Maybe I'll have a look at it.)

It builds just fine for me here, what errors are you seeing?

thanks,

greg k-h



More information about the devel mailing list