Re: [PATCH] staging/most: Use NULL instead of plain integer for pointer

2015-09-03 Thread Greg KH
On Sat, Aug 22, 2015 at 12:41:54AM +0200, Rocco Folino wrote: > This patch fixes the warning generated by sparse: "Using plain integer > as NULL pointer" by replacing 0s with NULL. > > Signed-off-by: Rocco Folino > --- > drivers/staging/most/aim-network/networking.c | 2 +- > drivers/staging/mos

[PATCH] staging/most: Use NULL instead of plain integer for pointer

2015-08-21 Thread Rocco Folino
This patch fixes the warning generated by sparse: "Using plain integer as NULL pointer" by replacing 0s with NULL. Signed-off-by: Rocco Folino --- drivers/staging/most/aim-network/networking.c | 2 +- drivers/staging/most/aim-v4l2/video.c | 2 +- drivers/staging/most/hdm-dim2/dim2_hdm.c