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:	Mon, 22 Nov 2010 10:06:50 +0000
From:	Richard Purdie <rpurdie@...ux.intel.com>
To:	Mariusz Kozlowski <mk@....zgora.pl>,
	akpm <akpm@...ux-foundation.org>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] backlight: make 1-bit signed filed unsigned in
 l4f00242t03.c

On Sat, 2010-11-20 at 13:01 +0100, Mariusz Kozlowski wrote:
> Fixes sparse warning:
> drivers/video/backlight/l4f00242t03.c:28:21: error: dubious one-bit
> signed bitfield
> 
> Signed-off-by: Mariusz Kozlowski <mk@....zgora.pl>
Acked-by: Richard Purdie <rpurdie@...ux.intel.com>
> ---
>  drivers/video/backlight/l4f00242t03.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/video/backlight/l4f00242t03.c b/drivers/video/backlight/l4f00242t03.c
> index c67801e..6d9ba0e 100644
> --- a/drivers/video/backlight/l4f00242t03.c
> +++ b/drivers/video/backlight/l4f00242t03.c
> @@ -25,7 +25,7 @@
>  struct l4f00242t03_priv {
>  	struct spi_device	*spi;
>  	struct lcd_device	*ld;
> -	int lcd_on:1;
> +	unsigned int lcd_on:1;
>  	struct regulator *io_reg;
>  	struct regulator *core_reg;
>  };


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists