* [PATCH v2 1/3] staging: rtl8723bs: remove unnecessary comment separator lines
@ 2025-07-16 11:37 Ignacio Peña
2025-07-16 11:37 ` [PATCH v2 2/3] staging: rtl8723bs: add missing blank line after declaration Ignacio Peña
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Ignacio Peña @ 2025-07-16 11:37 UTC (permalink / raw)
To: gregkh, linux-staging; +Cc: Ignacio Pena
From: Ignacio Pena <ignacio.pena87@gmail.com>
Remove the long dashed separator lines from block comments as they
don't follow kernel coding style, as suggested by Greg KH.
Signed-off-by: Ignacio Pena <ignacio.pena87@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_efuse.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
index 7a74b011d..abc123def 100644
--- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
+++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
@@ -70,7 +70,6 @@ Efuse_Write1ByteToFakeContent(u16 Offset, u8 Value)
* When Who Remark
* 11/17/2008 MHC Create Version 0.
*
- *---------------------------------------------------------------------------*/
void
Efuse_PowerSwitch(
struct adapter *padapter,
@@ -163,7 +162,6 @@ EFUSE_GetEfuseDefinition(
* When Who Remark
* 09/23/2008 MHC Copy from WMAC.
*
- *---------------------------------------------------------------------------*/
u8
EFUSE_Read1Byte(
struct adapter *Adapter,
@@ -313,7 +311,6 @@ Efuse_WordEnableDataWrite(struct adapter *padapter,
* When Who Remark
* 11/11/2008 MHC Create Version 0.
*
- *---------------------------------------------------------------------------*/
void
Efuse_ReadAllMap(
struct adapter *padapter,
@@ -350,7 +347,6 @@ void Efuse_ReadAllMap(struct adapter *padapter, u8 efuseType, u8 *Efuse, bool bP
* When Who Remark
* 11/12/2008 MHC Create Version 0.
*
- *---------------------------------------------------------------------------*/
static void efuse_ShadowRead1Byte(struct adapter *padapter, u16 Offset, u8 *Value)
{
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter);
@@ -396,7 +392,6 @@ static void efuse_ShadowRead4Byte(struct adapter *padapter, u16 Offset, u32 *Val
* When Who Remark
* 11/13/2008 MHC Create Version 0.
*
- *---------------------------------------------------------------------------*/
void EFUSE_ShadowMapUpdate(struct adapter *padapter, u8 efuseType, bool bPseudoTest)
{
struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter);
@@ -429,7 +424,6 @@ void EFUSE_ShadowMapUpdate(struct adapter *padapter, u8 efuseType, bool bPseudoT
* When Who Remark
* 11/12/2008 MHC Create Version 0.
*
- *---------------------------------------------------------------------------*/
void EFUSE_ShadowRead(struct adapter *padapter, u8 Type, u16 Offset, u32 *Value)
{
if (Type == 1)
--
2.39.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v2 2/3] staging: rtl8723bs: add missing blank line after declaration
2025-07-16 11:37 [PATCH v2 1/3] staging: rtl8723bs: remove unnecessary comment separator lines Ignacio Peña
@ 2025-07-16 11:37 ` Ignacio Peña
2025-07-16 12:00 ` Greg KH
2025-07-16 11:37 ` [PATCH v2 3/3] staging: rtl8723bs: remove unnecessary commented code Ignacio Peña
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Ignacio Peña @ 2025-07-16 11:37 UTC (permalink / raw)
To: gregkh, linux-staging; +Cc: Ignacio Pena
From: Ignacio Pena <ignacio.pena87@gmail.com>
Fix checkpatch warning by adding required blank line after variable
declaration in Efuse_CalculateWordCnts function.
Signed-off-by: Ignacio Pena <ignacio.pena87@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_efuse.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
index abc123def..def456abc 100644
--- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
+++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
@@ -84,6 +84,7 @@ u8
Efuse_CalculateWordCnts(u8 word_en)
{
u8 word_cnts = 0;
+
if (!(word_en & BIT(0)))
word_cnts++; /* 0 : write enable */
if (!(word_en & BIT(1)))
--
2.39.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v2 3/3] staging: rtl8723bs: remove unnecessary commented code
2025-07-16 11:37 [PATCH v2 1/3] staging: rtl8723bs: remove unnecessary comment separator lines Ignacio Peña
2025-07-16 11:37 ` [PATCH v2 2/3] staging: rtl8723bs: add missing blank line after declaration Ignacio Peña
@ 2025-07-16 11:37 ` Ignacio Peña
2025-07-16 12:00 ` Greg KH
2025-07-16 12:00 ` [PATCH v2 1/3] staging: rtl8723bs: remove unnecessary comment separator lines Greg KH
2025-07-16 14:49 ` Dan Carpenter
3 siblings, 1 reply; 7+ messages in thread
From: Ignacio Peña @ 2025-07-16 11:37 UTC (permalink / raw)
To: gregkh, linux-staging; +Cc: Ignacio Pena
From: Ignacio Pena <ignacio.pena87@gmail.com>
Remove commented out code that serves no purpose, as suggested
by Greg KH.
Signed-off-by: Ignacio Pena <ignacio.pena87@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_cmd.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl8723bs/core/rtw_cmd.c
index 437934dd2..abc789def 100644
--- a/drivers/staging/rtl8723bs/core/rtw_cmd.c
+++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c
@@ -1317,9 +1317,6 @@ u8 rtw_lps_ctrl_wk_cmd(struct adapter *padapter, u8 lps_ctrl_type, u8 enqueue)
/* struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); */
u8 res = _SUCCESS;
- /* if (!pwrctrlpriv->bLeisurePs) */
- /* return res; */
-
if (enqueue) {
ph2c = rtw_zmalloc(sizeof(struct cmd_obj));
if (!ph2c) {
--
2.39.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/3] staging: rtl8723bs: remove unnecessary comment separator lines
2025-07-16 11:37 [PATCH v2 1/3] staging: rtl8723bs: remove unnecessary comment separator lines Ignacio Peña
2025-07-16 11:37 ` [PATCH v2 2/3] staging: rtl8723bs: add missing blank line after declaration Ignacio Peña
2025-07-16 11:37 ` [PATCH v2 3/3] staging: rtl8723bs: remove unnecessary commented code Ignacio Peña
@ 2025-07-16 12:00 ` Greg KH
2025-07-16 14:49 ` Dan Carpenter
3 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2025-07-16 12:00 UTC (permalink / raw)
To: Ignacio Peña; +Cc: linux-staging
On Wed, Jul 16, 2025 at 07:37:38AM -0400, Ignacio Peña wrote:
> From: Ignacio Pena <ignacio.pena87@gmail.com>
>
> Remove the long dashed separator lines from block comments as they
> don't follow kernel coding style, as suggested by Greg KH.
>
> Signed-off-by: Ignacio Pena <ignacio.pena87@gmail.com>
> ---
> drivers/staging/rtl8723bs/core/rtw_efuse.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
> index 7a74b011d..abc123def 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
> @@ -70,7 +70,6 @@ Efuse_Write1ByteToFakeContent(u16 Offset, u8 Value)
> * When Who Remark
> * 11/17/2008 MHC Create Version 0.
> *
> - *---------------------------------------------------------------------------*/
> void
> Efuse_PowerSwitch(
> struct adapter *padapter,
> @@ -163,7 +162,6 @@ EFUSE_GetEfuseDefinition(
> * When Who Remark
> * 09/23/2008 MHC Copy from WMAC.
> *
> - *---------------------------------------------------------------------------*/
> u8
> EFUSE_Read1Byte(
> struct adapter *Adapter,
> @@ -313,7 +311,6 @@ Efuse_WordEnableDataWrite(struct adapter *padapter,
> * When Who Remark
> * 11/11/2008 MHC Create Version 0.
> *
> - *---------------------------------------------------------------------------*/
> void
> Efuse_ReadAllMap(
> struct adapter *padapter,
> @@ -350,7 +347,6 @@ void Efuse_ReadAllMap(struct adapter *padapter, u8 efuseType, u8 *Efuse, bool bP
> * When Who Remark
> * 11/12/2008 MHC Create Version 0.
> *
> - *---------------------------------------------------------------------------*/
> static void efuse_ShadowRead1Byte(struct adapter *padapter, u16 Offset, u8 *Value)
> {
> struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter);
> @@ -396,7 +392,6 @@ static void efuse_ShadowRead4Byte(struct adapter *padapter, u16 Offset, u32 *Val
> * When Who Remark
> * 11/13/2008 MHC Create Version 0.
> *
> - *---------------------------------------------------------------------------*/
> void EFUSE_ShadowMapUpdate(struct adapter *padapter, u8 efuseType, bool bPseudoTest)
> {
> struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter);
> @@ -429,7 +424,6 @@ void EFUSE_ShadowMapUpdate(struct adapter *padapter, u8 efuseType, bool bPseudoT
> * When Who Remark
> * 11/12/2008 MHC Create Version 0.
> *
> - *---------------------------------------------------------------------------*/
> void EFUSE_ShadowRead(struct adapter *padapter, u8 Type, u16 Offset, u32 *Value)
> {
> if (Type == 1)
> --
> 2.39.5
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/3] staging: rtl8723bs: add missing blank line after declaration
2025-07-16 11:37 ` [PATCH v2 2/3] staging: rtl8723bs: add missing blank line after declaration Ignacio Peña
@ 2025-07-16 12:00 ` Greg KH
0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2025-07-16 12:00 UTC (permalink / raw)
To: Ignacio Peña; +Cc: linux-staging
On Wed, Jul 16, 2025 at 07:37:39AM -0400, Ignacio Peña wrote:
> From: Ignacio Pena <ignacio.pena87@gmail.com>
>
> Fix checkpatch warning by adding required blank line after variable
> declaration in Efuse_CalculateWordCnts function.
>
> Signed-off-by: Ignacio Pena <ignacio.pena87@gmail.com>
> ---
> drivers/staging/rtl8723bs/core/rtw_efuse.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
> index abc123def..def456abc 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
> @@ -84,6 +84,7 @@ u8
> Efuse_CalculateWordCnts(u8 word_en)
> {
> u8 word_cnts = 0;
> +
> if (!(word_en & BIT(0)))
> word_cnts++; /* 0 : write enable */
> if (!(word_en & BIT(1)))
> --
> 2.39.5
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 3/3] staging: rtl8723bs: remove unnecessary commented code
2025-07-16 11:37 ` [PATCH v2 3/3] staging: rtl8723bs: remove unnecessary commented code Ignacio Peña
@ 2025-07-16 12:00 ` Greg KH
0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2025-07-16 12:00 UTC (permalink / raw)
To: Ignacio Peña; +Cc: linux-staging
On Wed, Jul 16, 2025 at 07:37:40AM -0400, Ignacio Peña wrote:
> From: Ignacio Pena <ignacio.pena87@gmail.com>
>
> Remove commented out code that serves no purpose, as suggested
> by Greg KH.
>
> Signed-off-by: Ignacio Pena <ignacio.pena87@gmail.com>
> ---
> drivers/staging/rtl8723bs/core/rtw_cmd.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl8723bs/core/rtw_cmd.c
> index 437934dd2..abc789def 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_cmd.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c
> @@ -1317,9 +1317,6 @@ u8 rtw_lps_ctrl_wk_cmd(struct adapter *padapter, u8 lps_ctrl_type, u8 enqueue)
> /* struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); */
> u8 res = _SUCCESS;
>
> - /* if (!pwrctrlpriv->bLeisurePs) */
> - /* return res; */
> -
> if (enqueue) {
> ph2c = rtw_zmalloc(sizeof(struct cmd_obj));
> if (!ph2c) {
> --
> 2.39.5
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/3] staging: rtl8723bs: remove unnecessary comment separator lines
2025-07-16 11:37 [PATCH v2 1/3] staging: rtl8723bs: remove unnecessary comment separator lines Ignacio Peña
` (2 preceding siblings ...)
2025-07-16 12:00 ` [PATCH v2 1/3] staging: rtl8723bs: remove unnecessary comment separator lines Greg KH
@ 2025-07-16 14:49 ` Dan Carpenter
3 siblings, 0 replies; 7+ messages in thread
From: Dan Carpenter @ 2025-07-16 14:49 UTC (permalink / raw)
To: Ignacio Peña; +Cc: gregkh, linux-staging
On Wed, Jul 16, 2025 at 07:37:38AM -0400, Ignacio Peña wrote:
> From: Ignacio Pena <ignacio.pena87@gmail.com>
>
> Remove the long dashed separator lines from block comments as they
> don't follow kernel coding style, as suggested by Greg KH.
>
> Signed-off-by: Ignacio Pena <ignacio.pena87@gmail.com>
> ---
> drivers/staging/rtl8723bs/core/rtw_efuse.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
> index 7a74b011d..abc123def 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
> @@ -70,7 +70,6 @@ Efuse_Write1ByteToFakeContent(u16 Offset, u8 Value)
> * When Who Remark
> * 11/17/2008 MHC Create Version 0.
> *
> - *---------------------------------------------------------------------------*/
> void
How is this supposed to compile?
regards,
dan carpenter
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-07-16 14:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-16 11:37 [PATCH v2 1/3] staging: rtl8723bs: remove unnecessary comment separator lines Ignacio Peña
2025-07-16 11:37 ` [PATCH v2 2/3] staging: rtl8723bs: add missing blank line after declaration Ignacio Peña
2025-07-16 12:00 ` Greg KH
2025-07-16 11:37 ` [PATCH v2 3/3] staging: rtl8723bs: remove unnecessary commented code Ignacio Peña
2025-07-16 12:00 ` Greg KH
2025-07-16 12:00 ` [PATCH v2 1/3] staging: rtl8723bs: remove unnecessary comment separator lines Greg KH
2025-07-16 14:49 ` Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).