Re: [PATCH v1 5/5] staging: rtl8723bs: fix LONG_LINE warnings across C files

From: Greg Kroah-Hartman

Date: Mon Feb 02 2026 - 03:37:57 EST


On Mon, Feb 02, 2026 at 08:07:52AM +0100, Luka Gejak wrote:
> Refactor lines exceeding 100 characters to comply with kernel coding
> style. All changes preserve original logic and behavior.
>
> Techniques used:
> - Move trailing comments to separate lines above code
> - Break long function signatures across multiple lines
> - Extract complex expressions into named temp variables
> - Use scoped blocks for local variable declarations
> - Create pointer aliases for deeply nested struct accesses
> - Simplify compound conditionals with intermediate booleans
>
> Files modified:
> - core/: rtw_cmd.c, rtw_ieee80211.c, rtw_io.c, rtw_ioctl_set.c,
> rtw_mlme.c, rtw_mlme_ext.c, rtw_pwrctrl.c, rtw_recv.c,
> rtw_security.c, rtw_wlan_util.c, rtw_xmit.c
> - hal/: HalBtc8723b1Ant.c, HalBtc8723b2Ant.c, HalPhyRf.c,
> HalPhyRf_8723B.c, hal_com.c, hal_com_phycfg.c, hal_intf.c,
> hal_sdio.c, odm.c, odm_DIG.c, odm_HWConfig.c, rtl8723b_cmd.c,
> rtl8723b_hal_init.c, rtl8723b_phycfg.c, rtl8723b_rf6052.c,
> rtl8723bs_recv.c, rtl8723bs_xmit.c, sdio_halinit.c
> - os_dep/: ioctl_cfg80211.c, os_intfs.c, sdio_intf.c, xmit_linux.c
>
> Signed-off-by: Luka Gejak <lukagejak5@xxxxxxxxx>
> ---
> drivers/staging/rtl8723bs/core/rtw_cmd.c | 142 ++---
> .../staging/rtl8723bs/core/rtw_ieee80211.c | 36 +-
> drivers/staging/rtl8723bs/core/rtw_io.c | 4 +-
> .../staging/rtl8723bs/core/rtw_ioctl_set.c | 16 +-
> drivers/staging/rtl8723bs/core/rtw_mlme.c | 103 ++--
> drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 492 ++++++++++++------
> drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 3 +-
> drivers/staging/rtl8723bs/core/rtw_recv.c | 123 +++--
> drivers/staging/rtl8723bs/core/rtw_security.c | 11 +-
> .../staging/rtl8723bs/core/rtw_wlan_util.c | 215 +++++---
> drivers/staging/rtl8723bs/core/rtw_xmit.c | 62 ++-
> .../staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 35 +-
> .../staging/rtl8723bs/hal/HalBtc8723b2Ant.c | 29 +-
> drivers/staging/rtl8723bs/hal/HalPhyRf.c | 36 +-
> .../staging/rtl8723bs/hal/HalPhyRf_8723B.c | 166 ++++--
> drivers/staging/rtl8723bs/hal/hal_com.c | 10 +-
> .../staging/rtl8723bs/hal/hal_com_phycfg.c | 22 +-
> drivers/staging/rtl8723bs/hal/hal_intf.c | 4 +-
> drivers/staging/rtl8723bs/hal/hal_sdio.c | 4 +-
> drivers/staging/rtl8723bs/hal/odm.c | 18 +-
> drivers/staging/rtl8723bs/hal/odm_DIG.c | 38 +-
> drivers/staging/rtl8723bs/hal/odm_HWConfig.c | 17 +-
> drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 103 +++-
> .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 64 ++-
> .../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 54 +-
> .../staging/rtl8723bs/hal/rtl8723b_rf6052.c | 6 +-
> .../staging/rtl8723bs/hal/rtl8723bs_recv.c | 6 +-
> .../staging/rtl8723bs/hal/rtl8723bs_xmit.c | 5 +-
> drivers/staging/rtl8723bs/hal/sdio_halinit.c | 17 +-
> .../staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 134 +++--
> drivers/staging/rtl8723bs/os_dep/os_intfs.c | 17 +-
> drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 3 +-
> drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 8 +-
> 33 files changed, 1364 insertions(+), 639 deletions(-)

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:

- Your patch did many different things all at once, making it difficult
to review. All Linux kernel patches need to only do one thing at a
time. If you need to do multiple things (such as clean up all coding
style issues in a file/driver), do it in a sequence of patches, each
one doing only one thing. This will make it easier to review the
patches to ensure that they are correct, and to help alleviate any
merge issues that larger patches can cause.

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