2018-01-12 17:47:25

by Fengguang Wu

[permalink] [raw]
Subject: [PATCH] usb: xhci-mtk: fix semicolon.cocci warnings

From: Fengguang Wu <[email protected]>

drivers/usb/host/xhci-mtk.c:311:2-3: Unneeded semicolon


Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: a2ecc4df9f84 ("usb: xhci-mtk: supports remote wakeup for mt2712 with two xHCI IPs")
CC: Chunfeng Yun <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
---

xhci-mtk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/usb/host/xhci-mtk.c
+++ b/drivers/usb/host/xhci-mtk.c
@@ -308,7 +308,7 @@ static void usb_wakeup_ip_sleep_set(stru
break;
default:
return;
- };
+ }
regmap_update_bits(mtk->uwk, reg, msk, val);
}



2018-01-13 06:35:47

by Chunfeng Yun

[permalink] [raw]
Subject: Re: [PATCH] usb: xhci-mtk: fix semicolon.cocci warnings

On Sat, 2018-01-13 at 01:46 +0800, kbuild test robot wrote:
> From: Fengguang Wu <[email protected]>
>
> drivers/usb/host/xhci-mtk.c:311:2-3: Unneeded semicolon
>
>
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> Fixes: a2ecc4df9f84 ("usb: xhci-mtk: supports remote wakeup for mt2712 with two xHCI IPs")
> CC: Chunfeng Yun <[email protected]>
> Signed-off-by: Fengguang Wu <[email protected]>
> ---
>
> xhci-mtk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/usb/host/xhci-mtk.c
> +++ b/drivers/usb/host/xhci-mtk.c
> @@ -308,7 +308,7 @@ static void usb_wakeup_ip_sleep_set(stru
> break;
> default:
> return;
> - };
> + }
> regmap_update_bits(mtk->uwk, reg, msk, val);
> }
>
Thanks

Acked-by: Chunfeng Yun <[email protected]>


2018-01-16 15:01:12

by Mathias Nyman

[permalink] [raw]
Subject: Re: [PATCH] usb: xhci-mtk: fix semicolon.cocci warnings

On 13.01.2018 08:35, Chunfeng Yun wrote:
> On Sat, 2018-01-13 at 01:46 +0800, kbuild test robot wrote:
>> From: Fengguang Wu <[email protected]>
>>
>> drivers/usb/host/xhci-mtk.c:311:2-3: Unneeded semicolon
>>
>>
>> Remove unneeded semicolon.
>>
>> Generated by: scripts/coccinelle/misc/semicolon.cocci
>>
>> Fixes: a2ecc4df9f84 ("usb: xhci-mtk: supports remote wakeup for mt2712 with two xHCI IPs")
>> CC: Chunfeng Yun <[email protected]>
>> Signed-off-by: Fengguang Wu <[email protected]>
>> ---
>>
>> xhci-mtk.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> --- a/drivers/usb/host/xhci-mtk.c
>> +++ b/drivers/usb/host/xhci-mtk.c
>> @@ -308,7 +308,7 @@ static void usb_wakeup_ip_sleep_set(stru
>> break;
>> default:
>> return;
>> - };
>> + }
>> regmap_update_bits(mtk->uwk, reg, msk, val);
>> }
>>
> Thanks
>
> Acked-by: Chunfeng Yun <[email protected]>
>

Thanks, Adding to queue

-Mathias