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]
Message-ID: <56A3AB8B.5050904@kernel.org>
Date:	Sat, 23 Jan 2016 16:34:19 +0000
From:	Jonathan Cameron <jic23@...nel.org>
To:	Colin King <colin.king@...onical.com>,
	Hartmut Knaack <knaack.h@....de>,
	Lars-Peter Clausen <lars@...afoo.de>,
	Peter Meerwald <pmeerw@...erw.net>,
	Jacob Pan <jacob.jun.pan@...ux.intel.com>,
	Krzysztof Kozlowski <k.kozlowski.k@...il.com>,
	linux-iio@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: adc: axp288: remove redundant duplicate const on
 axp288_adc_channels

On 22/01/16 17:49, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
> 
> duplicate const can be removed, it is redundant. Found by static
> analysis using smatch.
> 
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied, thanks,

Jonathan
> ---
>  drivers/iio/adc/axp288_adc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/adc/axp288_adc.c b/drivers/iio/adc/axp288_adc.c
> index 0c904ed..7fd2494 100644
> --- a/drivers/iio/adc/axp288_adc.c
> +++ b/drivers/iio/adc/axp288_adc.c
> @@ -46,7 +46,7 @@ struct axp288_adc_info {
>  	struct regmap *regmap;
>  };
>  
> -static const struct iio_chan_spec const axp288_adc_channels[] = {
> +static const struct iio_chan_spec axp288_adc_channels[] = {
>  	{
>  		.indexed = 1,
>  		.type = IIO_TEMP,
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ