Re: [PATCH] staging/line6: Fix sparse warning 'Using plain integeras NULL pointer'

From: Greg KH
Date: Wed Dec 08 2010 - 17:37:57 EST


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@xxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/