[PATCH] stagging: rtl8192e: Insert spaces around '|'

Hans Buss posted 1 patch 1 year, 5 months ago
drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] stagging: rtl8192e: Insert spaces around '|'
Posted by Hans Buss 1 year, 5 months ago
From: Hans Buss <hans.buss@mailfence.com>

Insert spaces around '|' to adhre to Linux kernel coding style.

CHECK: spaces preferred around that '|' (ctx:VxV)

Signed-off-by: Hans Buss <hans.buss@mailfence.com>
---
 drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h b/drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h
index 1b444529b59c..e507593b939c 100644
--- a/drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h
+++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h
@@ -229,7 +229,7 @@ enum _RTL8192PCI_HW {
 				RATR_MCS6 | RATR_MCS7)
 #define RATE_ALL_OFDM_2SS	(RATR_MCS8 | RATR_MCS9 | RATR_MCS10 |	\
 				RATR_MCS11 | RATR_MCS12 | RATR_MCS13 |	\
-				RATR_MCS14|RATR_MCS15)
+				RATR_MCS14 | RATR_MCS15)
 
 	DRIVER_RSSI		= 0x32c,
 	MCS_TXAGC		= 0x340,
-- 
2.46.0
Re: [PATCH] stagging: rtl8192e: Insert spaces around '|'
Posted by André Almeida 1 year, 5 months ago
Hi Hans,

Em 21/08/2024 21:31, Hans Buss escreveu:
> From: Hans Buss <hans.buss@mailfence.com>
> 
> Insert spaces around '|' to adhre to Linux kernel coding style.
> 
> CHECK: spaces preferred around that '|' (ctx:VxV)
> 
> Signed-off-by: Hans Buss <hans.buss@mailfence.com>

There's a small typo in your commit message, the correct name is 
staging, not "stagging".

> ---
>   drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h b/drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h
> index 1b444529b59c..e507593b939c 100644
> --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h
> +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h
> @@ -229,7 +229,7 @@ enum _RTL8192PCI_HW {
>   				RATR_MCS6 | RATR_MCS7)
>   #define RATE_ALL_OFDM_2SS	(RATR_MCS8 | RATR_MCS9 | RATR_MCS10 |	\
>   				RATR_MCS11 | RATR_MCS12 | RATR_MCS13 |	\
> -				RATR_MCS14|RATR_MCS15)
> +				RATR_MCS14 | RATR_MCS15)
>   
>   	DRIVER_RSSI		= 0x32c,
>   	MCS_TXAGC		= 0x340,