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

From: Sunliming
Date: Fri Apr 04 2025 - 02:09:52 EST



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.

Thanks.

thanks,

gregk -h