From: Tobin C. Harding Date: Mon, 10 Apr 2017 03:15:52 +0000 (+1000) Subject: staging: ks7010: fix checkpatch PARENTHESIS_ALIGNMENT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8f0ef774b8379adaa985506da3c7c185d938502b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: ks7010: fix checkpatch PARENTHESIS_ALIGNMENT Checkpatch emits CHECK: Alignment should match open parenthesis. Align argument to open parenthesis. Signed-off-by: Tobin C. Harding Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c index c36ce652c994..3172bf35879e 100644 --- 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);