staging: rtl8723bs: fix CamelCase warning for READ_MACREG
PATCH v2 1/1 staging: rtl8723bs: fix CamelCase warning for READ_MACREG
Rename the _Read_MACREG macro to READ_MACREG to resolve the checkpatch.pl "Avoid CamelCase" warning.
--- drivers/staging/rtl8723bs/core/rtw_cmd.c | 2 +- drivers/staging/rtl8723bs/include/rtw_cmd.h | 2 +- drivers/staging/rtl8723bs/include/rtw_mlme_ext.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8723bs/core/rtw_cmd.c +1 -1
@@ -11,7 +11,7 @@#include <linux/delay.h> static struct _cmd_callback rtw_cmd_callback[] = { - {GEN_CMD_CODE (_Read_MACREG),NULL },/*0*/ + {GEN_CMD_CODE (READ_MACREG ),NULL },/*0*/ {GEN_CMD_CODE (_Write_MACREG),NULL }, {GEN_CMD_CODE (_Read_BBREG), &rtw_getbbrfreg_cmdrsp_callback}, {GEN_CMD_CODE (_Write_BBREG),NULL },
drivers/staging/rtl8723bs/include/rtw_cmd.h +1 -1
@@ -630,7 +630,7 @@ struct _cmd_callback { };enum { - GEN_CMD_CODE(_Read_MACREG), /*0*/ + GEN_CMD_CODE(READ_MACREG), /*0*/ GEN_CMD_CODE(_Write_MACREG), GEN_CMD_CODE(_Read_BBREG), GEN_CMD_CODE(_Write_BBREG),
drivers/staging/rtl8723bs/include/rtw_mlme_ext.h +1 -1
@@ -679,7 +679,7 @@ void rtw_dummy_event_callback(struct adapter *adapter, u8 *pbuf);void rtw_fwdbg_event_callback (struct adapter *adapter,u8 *pbuf);enum { - GEN_EVT_CODE(_Read_MACREG) = 0, /*0*/ + GEN_EVT_CODE(READ_MACREG) = 0, /*0*/ GEN_EVT_CODE(_Read_BBREG), GEN_EVT_CODE(_Read_RFREG), GEN_EVT_CODE(_Read_EEPROM),
Signature · 1 line
2.53.0
Quoted 5 lines · Xiyuan Guo
Rename the
_Read_MACREGmacro toREAD_MACREGto resolve the checkpatch.pl "Avoid CamelCase" warning.Signed-off-by Xiyuan Guo <[email protected]>---
You sent this patch with [email protected] but signed with [email protected]. Also add a changelog after the '---' and wait at least 24h before the next version.
Thanks,
Bera
Quoted 8 lines · Bera Yüzlü
Quoted 5 lines · Xiyuan Guo
Rename the
_Read_MACREGmacro toREAD_MACREGto resolve the checkpatch.pl "Avoid CamelCase" warning.Signed-off-by Xiyuan Guo <[email protected]>---
Quoted 6 lines
You sent this patch with [email protected] but signed with [email protected]. Also add a changelog after the '---' and wait at least 24h before the next version.
Thanks,
Bera
Thanks for the feedback. I'll fix the email mismatch and add the changelog 24h before v3.
Best,
Tommy