* [PATCH] rtlwifi: rtl8192ee: fix semicolon.cocci warnings
[not found] <201508151824.iawa6wat%fengguang.wu@intel.com>
@ 2015-08-15 10:36 ` kbuild test robot
2015-08-15 16:47 ` Larry Finger
2015-08-25 12:11 ` Kalle Valo
0 siblings, 2 replies; 3+ messages in thread
From: kbuild test robot @ 2015-08-15 10:36 UTC (permalink / raw)
To: Larry Finger
Cc: kbuild-all, John W. Linville, Chaoming Li, linux-wireless, netdev,
linux-kernel
drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:856:2-3: Unneeded semicolon
drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:492:3-4: Unneeded semicolon
drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:452:3-4: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
CC: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
phy.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/drivers/net/wireless/rtlwifi/rtl8192ee/phy.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192ee/phy.c
@@ -449,7 +449,7 @@ static void _rtl92ee_phy_set_txpower_by_
"Invalid RateSection %d in 2.4G,Rf %d,%dTx\n",
rate_section, path, txnum);
break;
- };
+ }
} else {
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
"Invalid Band %d\n", band);
@@ -489,7 +489,7 @@ static u8 _rtl92ee_phy_get_txpower_by_ra
"Invalid RateSection %d in 2.4G,Rf %d,%dTx\n",
rate_section, path, txnum);
break;
- };
+ }
} else {
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
"Invalid Band %d()\n", band);
@@ -853,7 +853,7 @@ static u8 _rtl92ee_get_rate_section_inde
else if (regaddr >= 0xE20 && regaddr <= 0xE4C)
index = (u8)((regaddr - 0xE20) / 4);
break;
- };
+ }
return index;
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] rtlwifi: rtl8192ee: fix semicolon.cocci warnings
2015-08-15 10:36 ` [PATCH] rtlwifi: rtl8192ee: fix semicolon.cocci warnings kbuild test robot
@ 2015-08-15 16:47 ` Larry Finger
2015-08-25 12:11 ` Kalle Valo
1 sibling, 0 replies; 3+ messages in thread
From: Larry Finger @ 2015-08-15 16:47 UTC (permalink / raw)
To: kbuild test robot
Cc: kbuild-all, John W. Linville, Chaoming Li, linux-wireless, netdev,
linux-kernel
On 08/15/2015 05:36 AM, kbuild test robot wrote:
> drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:856:2-3: Unneeded semicolon
> drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:492:3-4: Unneeded semicolon
> drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:452:3-4: Unneeded semicolon
>
>
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Larry Finger <Larry.Finger@lwfinger.net>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry
> ---
>
> phy.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> --- a/drivers/net/wireless/rtlwifi/rtl8192ee/phy.c
> +++ b/drivers/net/wireless/rtlwifi/rtl8192ee/phy.c
> @@ -449,7 +449,7 @@ static void _rtl92ee_phy_set_txpower_by_
> "Invalid RateSection %d in 2.4G,Rf %d,%dTx\n",
> rate_section, path, txnum);
> break;
> - };
> + }
> } else {
> RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
> "Invalid Band %d\n", band);
> @@ -489,7 +489,7 @@ static u8 _rtl92ee_phy_get_txpower_by_ra
> "Invalid RateSection %d in 2.4G,Rf %d,%dTx\n",
> rate_section, path, txnum);
> break;
> - };
> + }
> } else {
> RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
> "Invalid Band %d()\n", band);
> @@ -853,7 +853,7 @@ static u8 _rtl92ee_get_rate_section_inde
> else if (regaddr >= 0xE20 && regaddr <= 0xE4C)
> index = (u8)((regaddr - 0xE20) / 4);
> break;
> - };
> + }
> return index;
> }
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rtlwifi: rtl8192ee: fix semicolon.cocci warnings
2015-08-15 10:36 ` [PATCH] rtlwifi: rtl8192ee: fix semicolon.cocci warnings kbuild test robot
2015-08-15 16:47 ` Larry Finger
@ 2015-08-25 12:11 ` Kalle Valo
1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2015-08-25 12:11 UTC (permalink / raw)
To: Wu Fengguang
Cc: Larry Finger, kbuild-all, John W. Linville, Chaoming Li,
linux-wireless, netdev, linux-kernel
> drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:856:2-3: Unneeded semicolon
> drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:492:3-4: Unneeded semicolon
> drivers/net/wireless/rtlwifi/rtl8192ee/phy.c:452:3-4: Unneeded semicolon
>
>
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Larry Finger <Larry.Finger@lwfinger.net>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Thanks, applied to wireless-drivers-next.git.
Kalle Valo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-25 12:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201508151824.iawa6wat%fengguang.wu@intel.com>
2015-08-15 10:36 ` [PATCH] rtlwifi: rtl8192ee: fix semicolon.cocci warnings kbuild test robot
2015-08-15 16:47 ` Larry Finger
2015-08-25 12:11 ` Kalle Valo
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).