From: Richard Purdie <rpurdie@linux.intel.com>
To: Mariusz Kozlowski <mk@lab.zgora.pl>, akpm <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] backlight: make 1-bit signed filed unsigned in l4f00242t03.c
Date: Mon, 22 Nov 2010 10:06:50 +0000 [thread overview]
Message-ID: <1290420410.1272.16689.camel@rex> (raw)
In-Reply-To: <1290254484-12141-1-git-send-email-mk@lab.zgora.pl>
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@lab.zgora.pl>
Acked-by: Richard Purdie <rpurdie@linux.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;
> };
prev parent reply other threads:[~2010-11-22 10:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-20 12:01 Mariusz Kozlowski
2010-11-22 10:06 ` Richard Purdie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1290420410.1272.16689.camel@rex \
--to=rpurdie@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mk@lab.zgora.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®