Re: [PATCH] staging:kpc2000:Fix sparse warnings

2019-06-28 Thread Greg KH
On Fri, Jun 28, 2019 at 12:21:38AM +0530, Harsh Jain wrote: > From: root Interesting user name :) > Fix following sparse warning > symbol was not declared. Should it be static? > Using plain integer as NULL pointer Don't do multiple things in the same patch. Please break thsi up into two diffe

[PATCH] staging:kpc2000:Fix sparse warnings

2019-06-27 Thread Harsh Jain
From: root Fix following sparse warning symbol was not declared. Should it be static? Using plain integer as NULL pointer Signed-off-by: Harsh Jain --- drivers/staging/kpc2000/kpc_i2c/i2c_driver.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/kpc20