[PATCH v2 0/2] staging: rtl8723bs: enum labels naming, coding style

From: Aiman Najjar

Date: Tue Jul 07 2026 - 16:46:12 EST


Hi Greg, sorry it seems I had used the wrong base tree.
I've rebased now in this v2 series. Thanks for reviewing :)

Enum labels generated by token-pasting macros adopt camel case. This
patch removes the use of macro to generate the enum label names and
adopts new captialized names.

Signed-off-by: Aiman Najjar <aiman.najjar@xxxxxxxxxxxx>
---
Changes in v2:
- Rebased series onto correct upstream tree, i.e. gregkh/staging-testing
instead of mainline and resolve minor conflicts
- No functional code changes
- Link to v1: https://patch.msgid.link/20260609-rtl8723bs-code-style-v1-0-daa0e85359a6@xxxxxxxxx

---
Aiman Najjar (2):
staging: rtl8723bs: drop GEN_CMD_CODE macro and capitalize labels
staging: rtl8723bs: drop GEN_EVT_CODE macro and capitalize labels

drivers/staging/rtl8723bs/core/rtw_ap.c | 4 +-
drivers/staging/rtl8723bs/core/rtw_cmd.c | 190 +++++++++++------------
drivers/staging/rtl8723bs/core/rtw_mlme.c | 4 +-
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 30 ++--
drivers/staging/rtl8723bs/include/rtw_cmd.h | 154 +++++++++---------
drivers/staging/rtl8723bs/include/rtw_event.h | 4 -
drivers/staging/rtl8723bs/include/rtw_mlme_ext.h | 54 +++----
7 files changed, 214 insertions(+), 226 deletions(-)
---
base-commit: 955bd61f814c3f5a44bb805e1ba55ddb77cb7fdf
change-id: 20260609-rtl8723bs-code-style-0871b80b6799

Best regards,
--
Aiman Najjar <aiman.najjar@xxxxxxxxxxxx>