* [PATCH] leds: fix semicolon.cocci warnings
[not found] <201503180303.u48s93LS%fengguang.wu@intel.com>
@ 2015-03-17 19:42 ` kbuild test robot
2015-03-17 20:59 ` Bryan Wu
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-03-17 19:42 UTC (permalink / raw)
To: Courtney Cavin
Cc: kbuild-all, Bryan Wu, Bjorn Andersson, Richard Purdie,
linux-leds, linux-kernel
drivers/leds/leds-pm8941-wled.c:368:2-3: Unneeded semicolon
Removes unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
CC: Courtney Cavin <courtney.cavin@sonymobile.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
leds-pm8941-wled.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/leds/leds-pm8941-wled.c
+++ b/drivers/leds/leds-pm8941-wled.c
@@ -365,7 +365,7 @@ static int pm8941_wled_configure(struct
dev_dbg(dev, "'%s' = %u\n", u32_opts[i].name, c);
*u32_opts[i].val_ptr = j;
- };
+ }
for (i = 0; i < ARRAY_SIZE(bool_opts); ++i) {
if (of_property_read_bool(dev->of_node, bool_opts[i].name))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] leds: fix semicolon.cocci warnings
2015-03-17 19:42 ` [PATCH] leds: fix semicolon.cocci warnings kbuild test robot
@ 2015-03-17 20:59 ` Bryan Wu
0 siblings, 0 replies; 2+ messages in thread
From: Bryan Wu @ 2015-03-17 20:59 UTC (permalink / raw)
To: kbuild test robot
Cc: Courtney Cavin, kbuild-all, Bjorn Andersson, Richard Purdie,
Linux LED Subsystem, lkml
On Tue, Mar 17, 2015 at 12:42 PM, kbuild test robot
<fengguang.wu@intel.com> wrote:
> drivers/leds/leds-pm8941-wled.c:368:2-3: Unneeded semicolon
>
>
> Removes unneeded semicolon.
I fixed it and pushed again.
Thanks,
-Bryan
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Courtney Cavin <courtney.cavin@sonymobile.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>
> leds-pm8941-wled.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/leds/leds-pm8941-wled.c
> +++ b/drivers/leds/leds-pm8941-wled.c
> @@ -365,7 +365,7 @@ static int pm8941_wled_configure(struct
>
> dev_dbg(dev, "'%s' = %u\n", u32_opts[i].name, c);
> *u32_opts[i].val_ptr = j;
> - };
> + }
>
> for (i = 0; i < ARRAY_SIZE(bool_opts); ++i) {
> if (of_property_read_bool(dev->of_node, bool_opts[i].name))
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-17 21:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <201503180303.u48s93LS%fengguang.wu@intel.com>
2015-03-17 19:42 ` [PATCH] leds: fix semicolon.cocci warnings kbuild test robot
2015-03-17 20:59 ` Bryan Wu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.