staging: ks7010: fix checkpatch PARENTHESIS_ALIGNMENT
authorTobin C. Harding <me@tobin.cc>
Mon, 10 Apr 2017 03:15:52 +0000 (13:15 +1000)
committerGreg 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

index c36ce652c994bf7c31e7b31806f683a9130be4bf..3172bf35879e35ac16f14bf26d222fec565e9a36 100644 (file)
@@ -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);