* [PATCH] leds: lm3532: make bitfield 'enabled' unsigned
@ 2020-03-13 17:19 Colin King
2020-03-21 15:46 ` Pavel Machek
0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2020-03-13 17:19 UTC (permalink / raw)
To: Jacek Anaszewski, Pavel Machek, Dan Murphy, linux-leds
Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
The bitfield 'enabled' should bit unsigned, so make it unsigned.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/leds/leds-lm3532.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/leds/leds-lm3532.c b/drivers/leds/leds-lm3532.c
index 188a57da981a..aa9bf8cda673 100644
--- a/drivers/leds/leds-lm3532.c
+++ b/drivers/leds/leds-lm3532.c
@@ -140,7 +140,7 @@ struct lm3532_led {
int ctrl_brt_pointer;
int num_leds;
int full_scale_current;
- int enabled:1;
+ unsigned int enabled:1;
u32 led_strings[LM3532_MAX_CONTROL_BANKS];
char label[LED_MAX_NAME_SIZE];
};
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] leds: lm3532: make bitfield 'enabled' unsigned
2020-03-13 17:19 [PATCH] leds: lm3532: make bitfield 'enabled' unsigned Colin King
@ 2020-03-21 15:46 ` Pavel Machek
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2020-03-21 15:46 UTC (permalink / raw)
To: Colin King
Cc: Jacek Anaszewski, Dan Murphy, linux-leds, kernel-janitors, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 409 bytes --]
On Fri 2020-03-13 17:19:37, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> The bitfield 'enabled' should bit unsigned, so make it unsigned.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Thanks, applied.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-21 15:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13 17:19 [PATCH] leds: lm3532: make bitfield 'enabled' unsigned Colin King
2020-03-21 15:46 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).