[PATCH] staging: rtl8723bs: hal: Fix block comment style in hal_com_phycfg.c

Praveen Jayaprakash Pattar posted 1 patch 7 hours ago
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] staging: rtl8723bs: hal: Fix block comment style in hal_com_phycfg.c
Posted by Praveen Jayaprakash Pattar 7 hours ago
Fix improper block comment alignment where '*' on each line had two
spaces instead of one before it. Kernel coding style requires a single
space before '*' on each line of a block comment to align with the
opening '/*'.

Detected by checkpatch.pl with --strict flag.

Signed-off-by: Praveen Jayaprakash Pattar <praveen.pattar2022@gmail.com>
---
 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
index bdd595a99b98..9f513eb92ff8 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
@@ -407,9 +407,9 @@ struct adapter *padapter
 }
 
 /*
-  * This function must be called if the value in the PHY_REG_PG.txt(or header)
-  * is exact dBm values
-  */
+ * This function must be called if the value in the PHY_REG_PG.txt(or header)
+ * is exact dBm values
+ */
 void PHY_TxPowerByRateConfiguration(struct adapter *padapter)
 {
 	phy_StoreTxPowerByRateBase(padapter);
-- 
2.54.0
Re: [PATCH] staging: rtl8723bs: hal: Fix block comment style in hal_com_phycfg.c
Posted by Ahmet Sezgin Duran 6 hours ago
On Sun, May 24, 2026 at 03:29:49PM +0530, Praveen Jayaprakash Pattar wrote:
> Fix improper block comment alignment where '*' on each line had two
> spaces instead of one before it. Kernel coding style requires a single
> space before '*' on each line of a block comment to align with the
> opening '/*'.
> 
> Detected by checkpatch.pl with --strict flag.
> 
> Signed-off-by: Praveen Jayaprakash Pattar <praveen.pattar2022@gmail.com>
> ---
>  drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
> index bdd595a99b98..9f513eb92ff8 100644
> --- a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
> +++ b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
> @@ -407,9 +407,9 @@ struct adapter *padapter
>  }
>  
>  /*
> -  * This function must be called if the value in the PHY_REG_PG.txt(or header)
> -  * is exact dBm values
> -  */
> + * This function must be called if the value in the PHY_REG_PG.txt(or header)
> + * is exact dBm values
> + */
>  void PHY_TxPowerByRateConfiguration(struct adapter *padapter)
>  {
>  	phy_StoreTxPowerByRateBase(padapter);
> -- 
> 2.54.0
> 

Does not apply to staging-testing.

Regards,
Ahmet Sezgin Duran