Re: [PATCH] staging: gpib: warning: variable 'nec_priv' set but not used warning

From: sunliming
Date: Fri Apr 04 2025 - 05:16:30 EST



On 2025/4/4 15:53, Dan Carpenter wrote:
On Fri, Apr 04, 2025 at 02:08:38PM +0800, Sunliming wrote:
On 2025/4/3 22:08, Greg KH wrote:
On Fri, Mar 21, 2025 at 09:06:49AM +0800, sunliming@xxxxxxxxx wrote:
From: sunliming <sunliming@xxxxxxxxxx>

Fix below kernel warning:
drivers/staging/gpib/eastwood/fluke_gpib.c:196:23: warning: variable 'nec_priv' set but not
used [-Wunused-but-set-variable]

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Please link to where this was reported. The report from the robot will
have the needed information in it on how to do this.
Get it, I will resend the patch to fix this.

Thanks.

Signed-off-by: sunliming <sunliming@xxxxxxxxxx>
As per our documentation, please use your name, not your email alias, on
the signed-off-by line.
It's not my email alias,my name is sunliming too.
Why is it capitalized on your From header on your email but not in your
Signed-off-by?

I didn't notice that my email and Gitconfig have different names set.  Thank you

 for letting me know, I will fix it.


regards,
dan carpenter