* [PATCH] stagging: rtl8192e: fix alignment parenthesis
@ 2024-08-22 0:49 Hans Buss
2024-08-22 7:45 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Hans Buss @ 2024-08-22 0:49 UTC (permalink / raw)
To: Greg Kroah-Hartman, linux-staging, linux-kernel, ~lkcamp/patches
Fix alignment parenthesis in _rtl92e_wx_set_encode_ext.
CHECK: Alignment should match open parenthesis
Signed-off-by: Hans Buss <hansbh123@gmail.com>
---
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c
index c21a0560410a..fc8e7f73b2a4 100644
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c
@@ -675,7 +675,7 @@ static int _rtl92e_wx_set_encode_ext(struct net_device *dev,
u8 idx = 0, alg = 0, group = 0;
if ((encoding->flags & IW_ENCODE_DISABLED) ||
- ext->alg == IW_ENCODE_ALG_NONE) {
+ ext->alg == IW_ENCODE_ALG_NONE) {
ieee->pairwise_key_type = ieee->group_key_type
= KEY_TYPE_NA;
rtl92e_cam_reset(dev);
@@ -710,7 +710,7 @@ static int _rtl92e_wx_set_encode_ext(struct net_device *dev,
rtl92e_set_swcam(dev, idx, idx, alg, broadcast_addr, key);
} else {
if ((ieee->pairwise_key_type == KEY_TYPE_CCMP) &&
- ieee->ht_info->current_ht_support)
+ ieee->ht_info->current_ht_support)
rtl92e_writeb(dev, 0x173, 1);
rtl92e_set_key(dev, 4, idx, alg,
(u8 *)ieee->ap_mac_addr, 0, key);
--
2.46.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] stagging: rtl8192e: fix alignment parenthesis
2024-08-22 0:49 [PATCH] stagging: rtl8192e: fix alignment parenthesis Hans Buss
@ 2024-08-22 7:45 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2024-08-22 7:45 UTC (permalink / raw)
To: Hans Buss; +Cc: linux-staging, linux-kernel, ~lkcamp/patches
On Wed, Aug 21, 2024 at 09:49:34PM -0300, Hans Buss wrote:
> Fix alignment parenthesis in _rtl92e_wx_set_encode_ext.
>
Why the indentation here?
> CHECK: Alignment should match open parenthesis
Also, your subject line is mispelled :(
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-22 7:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-22 0:49 [PATCH] stagging: rtl8192e: fix alignment parenthesis Hans Buss
2024-08-22 7:45 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox