2023-02-15 05:57:37

by Yang Li

[permalink] [raw]
Subject: [PATCH -next v2] wifi: mt76: mt7996: Remove unneeded semicolon

./drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:3136:3-4: Unneeded semicolon

Reported-by: Abaci Robot <[email protected]>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4059
Signed-off-by: Yang Li <[email protected]>
---

change in v2:
Add the linux-wireless to cc list.

drivers/net/wireless/mediatek/mt76/mt7996/mcu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c
index dbe30832fd88..8ad51cbfdbe8 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c
@@ -3133,7 +3133,7 @@ int mt7996_mcu_get_chip_config(struct mt7996_dev *dev, u32 *cap)
break;
default:
break;
- };
+ }

buf += le16_to_cpu(tlv->len);
}
--
2.20.1.7.g153144c



Subject: Re: [PATCH -next v2] wifi: mt76: mt7996: Remove unneeded semicolon

Il 15/02/23 06:56, Yang Li ha scritto:
> ./drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:3136:3-4: Unneeded semicolon
>
> Reported-by: Abaci Robot <[email protected]>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4059
> Signed-off-by: Yang Li <[email protected]>

Reviewed-by: AngeloGioacchino Del Regno <[email protected]>


2023-02-15 21:30:50

by Matthias Brugger

[permalink] [raw]
Subject: Re: [PATCH -next v2] wifi: mt76: mt7996: Remove unneeded semicolon



On 15/02/2023 06:56, Yang Li wrote:
> ./drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:3136:3-4: Unneeded semicolon
>

Please be more verbose in the commit message.

Regards,
Matthias

> Reported-by: Abaci Robot <[email protected]>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4059
> Signed-off-by: Yang Li <[email protected]>
> ---
>
> change in v2:
> Add the linux-wireless to cc list.
>
> drivers/net/wireless/mediatek/mt76/mt7996/mcu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c
> index dbe30832fd88..8ad51cbfdbe8 100644
> --- a/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c
> +++ b/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c
> @@ -3133,7 +3133,7 @@ int mt7996_mcu_get_chip_config(struct mt7996_dev *dev, u32 *cap)
> break;
> default:
> break;
> - };
> + }
>
> buf += le16_to_cpu(tlv->len);
> }