projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da1b23
)
staging: ks7010: fix checkpatch PARENTHESIS_ALIGNMENT
author
Tobin C. Harding
<me@tobin.cc>
Mon, 10 Apr 2017 03:15:52 +0000
(13:15 +1000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 14:05:50 +0000
(16:05 +0200)
Checkpatch emits CHECK: Alignment should match open parenthesis.
Align argument to open parenthesis.
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c
patch
|
blob
|
history
diff --git
a/drivers/staging/ks7010/ks_wlan_net.c
b/drivers/staging/ks7010/ks_wlan_net.c
index
c36ce65
..
3172bf3
100644
(file)
--- a/
drivers/staging/ks7010/ks_wlan_net.c
+++ b/
drivers/staging/ks7010/ks_wlan_net.c
@@
-1932,7
+1932,7
@@
static int ks_wlan_set_pmksa(struct net_device *dev,
for (i = 0; i < PMK_LIST_MAX; i++) {
pmk = &priv->pmklist.pmk[i];
if (memcmp("\x00\x00\x00\x00\x00\x00",
-
pmk->bssid, ETH_ALEN) == 0)
+ pmk->bssid, ETH_ALEN) == 0)
break; /* loop */
}
memcpy(pmk->bssid, pmksa->bssid.sa_data, ETH_ALEN);