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] [day] [month] [year] [list]
Date:   Sun, 1 Nov 2020 14:59:14 +0000
From:   Jonathan Cameron <jic23@...nel.org>
To:     trix@...hat.com
Cc:     lars@...afoo.de, pmeerw@...erw.net, linux-iio@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: pressure: bmp280: remove unneeded semicolon

On Sat, 31 Oct 2020 06:45:06 -0700
trix@...hat.com wrote:

> From: Tom Rix <trix@...hat.com>
> 
> A semicolon is not needed after a switch statement.
> 
> Signed-off-by: Tom Rix <trix@...hat.com>
Applied,

Thanks,

Jonathan

> ---
>  drivers/iio/pressure/bmp280-regmap.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/iio/pressure/bmp280-regmap.c b/drivers/iio/pressure/bmp280-regmap.c
> index 08c00ac32bda..da136dbadc8f 100644
> --- a/drivers/iio/pressure/bmp280-regmap.c
> +++ b/drivers/iio/pressure/bmp280-regmap.c
> @@ -13,7 +13,7 @@ static bool bmp180_is_writeable_reg(struct device *dev, unsigned int reg)
>  		return true;
>  	default:
>  		return false;
> -	};
> +	}
>  }
>  
>  static bool bmp180_is_volatile_reg(struct device *dev, unsigned int reg)
> @@ -51,7 +51,7 @@ static bool bmp280_is_writeable_reg(struct device *dev, unsigned int reg)
>  		return true;
>  	default:
>  		return false;
> -	};
> +	}
>  }
>  
>  static bool bmp280_is_volatile_reg(struct device *dev, unsigned int reg)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ