lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <mqqatbuibseyxxtz44wialt2tlzihosdvlv2ajhh3y5jcfe3qj@gdsj6baftv5f>
Date: Wed, 3 Jul 2024 23:46:14 +0200
From: Andi Shyti <andi.shyti@...nel.org>
To: Chen Ni <nichen@...as.ac.cn>
Cc: gupt21@...il.com, jikos@...nel.org, bentiss@...nel.org, 
	Jonathan.Cameron@...wei.com, matt@...ostay.sg, linux-i2c@...r.kernel.org, 
	linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: mcp2221: Remove unneeded semicolon

On Mon, Jul 01, 2024 at 03:16:39PM GMT, Chen Ni wrote:
> Remove unneeded semicolon.

Please be a bit more precise: "Remove unnecessary semicolon at
the end of the switch statement"

> This is detected by coccinelle.
> 
> Fixes: 960f9df7c620 ("HID: mcp2221: add ADC/DAC support via iio subsystem")

No need for the Fixes tag here.

Andi

> Signed-off-by: Chen Ni <nichen@...as.ac.cn>
> ---
>  drivers/hid/hid-mcp2221.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/hid/hid-mcp2221.c b/drivers/hid/hid-mcp2221.c
> index da5ea5a23b08..0f93c22a479f 100644
> --- a/drivers/hid/hid-mcp2221.c
> +++ b/drivers/hid/hid-mcp2221.c
> @@ -1048,7 +1048,7 @@ static int mcp_iio_channels(struct mcp2221 *mcp)
>  			break;
>  		default:
>  			continue;
> -		};
> +		}
>  
>  		chan->type = IIO_VOLTAGE;
>  		chan->indexed = 1;
> -- 
> 2.25.1
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ