[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210817022628.GA6595@abhishek-Lenovo-ideapad-110-15AST>
Date: Tue, 17 Aug 2021 07:56:38 +0530
From: Abhishek Anand Kulkarni <kulkarniabhishekanand@...il.com>
To: gregkh@...uxfoundation.org
Cc: Larry.Finger@...inger.net, phil@...lpotter.co.uk,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
kulkarniabhishekanand@...il.com
Subject: [PATCH] staging: r8188eu: Add spaces before and after logical '&'
Fix Checkpatch.pl warning to add space before and after logical '&'
operator
Signed-off-by: Abhishek Anand Kulkarni <kulkaraniabhishekanand@...il.com>
---
drivers/staging/r8188eu/core/rtw_ioctl_set.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/r8188eu/core/rtw_ioctl_set.c b/drivers/staging/r8188eu/core/rtw_ioctl_set.c
index a7f966a..570f25f 100644
--- a/drivers/staging/r8188eu/core/rtw_ioctl_set.c
+++ b/drivers/staging/r8188eu/core/rtw_ioctl_set.c
@@ -630,7 +630,7 @@ u8 rtw_set_802_11_add_key(struct adapter *padapter, struct ndis_802_11_key *key)
struct ndis_802_11_wep *wep = &padapter->securitypriv.ndiswep;
wep->Length = len;
- keyindex = key->KeyIndex&0x7fffffff;
+ keyindex = key->KeyIndex & 0x7fffffff;
wep->KeyIndex = keyindex ;
wep->KeyLength = key->KeyLength;
--
2.7.4
Powered by blists - more mailing lists