Re: [PATCH v1 5/5] staging: rtl8723bs: fix LONG_LINE warnings across C files
From: Greg Kroah-Hartman
Date: Mon Feb 02 2026 - 03:36:21 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
>
Was this generated by ai?
Anyway, it does way too much, my bot will say more...
thanks,
greg k-h