All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: r8723au: move * to be adjacent to pointer name
@ 2015-10-16 17:59 Alison Schofield
  2015-10-17 23:39 ` [RESEND PATCH] " Alison Schofield
  0 siblings, 1 reply; 3+ messages in thread
From: Alison Schofield @ 2015-10-16 17:59 UTC (permalink / raw)
  To: outreachy-kernel

Move * in pointer types to be adjacent to pointer names per Linux
coding style.

Addresses checkpatch.pl: ERROR: "foo*    bar" should be "foo *bar"

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
---

Question to reviewers:
Are checkpatch.pl CHECK errors permitted in a patch?
        ie. This driver has a lot of pre-existing CamelCase CHECKs that 
	appear when my pre-commit hook executes.  I'd like to submit other
	changes without addressing the CamelCase simultaneously.

What is the recommendation in such cases?


 drivers/staging/rtl8723au/core/rtw_ieee80211.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c b/drivers/staging/rtl8723au/core/rtw_ieee80211.c
index cdd7bc4..07a6490 100644
--- a/drivers/staging/rtl8723au/core/rtw_ieee80211.c
+++ b/drivers/staging/rtl8723au/core/rtw_ieee80211.c
@@ -348,9 +348,9 @@ int rtw_generate_ie23a(struct registry_priv *pregistrypriv)
 {
 	u8	wireless_mode;
 	int	sz = 0, rateLen;
-	struct wlan_bssid_ex*	pdev_network = &pregistrypriv->dev_network;
-	u8*	ie = pdev_network->IEs;
-	u16 cap;
+	struct wlan_bssid_ex *pdev_network = &pregistrypriv->dev_network;
+	u8	*ie = pdev_network->IEs;
+	u16	cap;
 
 	pdev_network->tsf = 0;
 
@@ -444,7 +444,8 @@ static int rtw_get_wpa2_cipher_suite(const u8 *s)
 	return 0;
 }
 
-int rtw_parse_wpa_ie23a(const u8* wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *is_8021x)
+int rtw_parse_wpa_ie23a(const u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
+			int *pairwise_cipher, int *is_8021x)
 {
 	int i, ret = _SUCCESS;
 	int left, count;
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-18  5:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-16 17:59 [PATCH] staging: r8723au: move * to be adjacent to pointer name Alison Schofield
2015-10-17 23:39 ` [RESEND PATCH] " Alison Schofield
2015-10-18  5:53   ` [Outreachy kernel] " Julia Lawall

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.