drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fix indentation in r8192E_dev.c to silence checkpatch warnings:
CHECK: Alignment should match open parenthesis
Signed-off-by: Renan M. S. Florencio <renanm.florencio@gmail.com>
---
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
index b3d4b3394284..ec867801bfbd 100644
--- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
+++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
@@ -1741,7 +1741,7 @@ void rtl92e_update_ratr_table(struct net_device *dev)
ieee->ht_info->cur_short_gi_40mhz)
ratr_value |= 0x80000000;
else if (!ieee->ht_info->cur_tx_bw40mhz &&
- ieee->ht_info->cur_short_gi_20mhz)
+ ieee->ht_info->cur_short_gi_20mhz)
ratr_value |= 0x80000000;
rtl92e_writel(dev, RATR0 + rate_index * 4, ratr_value);
rtl92e_writeb(dev, UFWP, 1);
--
2.34.1
On Wed, Aug 21, 2024 at 09:25:26PM -0300, Renan M. S. Florencio wrote: > Fix indentation in r8192E_dev.c to silence checkpatch warnings: > > CHECK: Alignment should match open parenthesis > > Signed-off-by: Renan M. S. Florencio <renanm.florencio@gmail.com> > --- > drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c > index b3d4b3394284..ec867801bfbd 100644 > --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c > +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c > @@ -1741,7 +1741,7 @@ void rtl92e_update_ratr_table(struct net_device *dev) > ieee->ht_info->cur_short_gi_40mhz) > ratr_value |= 0x80000000; > else if (!ieee->ht_info->cur_tx_bw40mhz && > - ieee->ht_info->cur_short_gi_20mhz) > + ieee->ht_info->cur_short_gi_20mhz) But the alignment does not now match, are you sure you ran your change through checkpatch to verify it did what you thought it did? thanks, greg k-h
© 2016 - 2026 Red Hat, Inc.