* [PATCH v2] Staging: rtlwifi: base: Modified the line ending with a parenthesis
@ 2018-08-05 11:29 Sohil Ladhani
0 siblings, 0 replies; only message in thread
From: Sohil Ladhani @ 2018-08-05 11:29 UTC (permalink / raw)
To: Greg Kroah-Hartman, Larry Finger, Kees Cook, Julia Lawall,
Nathan Chancellor, Ping-Ke Shih, Arushi Singhal
Cc: Frank A. Cancio Bello, devel, linux-kernel, Sohil Ladhani
This patch fixes the "Lines should not end with a '('" warning reported by
checkpatch.pl script. The line containing 'rtl_mrate_idx_to_arfr_id' function
previously ended with '(', which did not conform to the linux kernel
coding style.
Signed-off-by: Sohil Ladhani <supertakumi86@gmail.com>
---
Changes in v2:
- Made the commit message more clearer
drivers/staging/rtlwifi/base.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtlwifi/base.c b/drivers/staging/rtlwifi/base.c
index 094827c1879a..654aa4e068ba 100644
--- a/drivers/staging/rtlwifi/base.c
+++ b/drivers/staging/rtlwifi/base.c
@@ -685,9 +685,8 @@ static void _rtl_query_protection_mode(struct ieee80211_hw *hw,
}
}
-u8 rtl_mrate_idx_to_arfr_id(
- struct ieee80211_hw *hw, u8 rate_index,
- enum wireless_mode wirelessmode)
+u8 rtl_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index,
+ enum wireless_mode wirelessmode)
{
struct rtl_priv *rtlpriv = rtl_priv(hw);
struct rtl_phy *rtlphy = &rtlpriv->phy;
--
2.18.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-05 11:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-05 11:29 [PATCH v2] Staging: rtlwifi: base: Modified the line ending with a parenthesis Sohil Ladhani
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.