Re: [PATCH] leds: fix semicolon.cocci warnings

From: Bryan Wu
Date: Tue Mar 17 2015 - 17:00:13 EST


On Tue, Mar 17, 2015 at 12:42 PM, kbuild test robot
<fengguang.wu@xxxxxxxxx> 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@xxxxxxxxxxxxxx>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> ---
>
> 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))
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/