[PATCH v4 0/7] staging: rtl8723bs: rtw_mlme: fix long lines and related issues

Salman Alghamdi
2026-04-27T19:05:57Z

This series addresses review feedback on v3. Changes from v3:

- Split the line length patch into two: one for simple wrapping
and one for variable extraction (per Dan Carpenter)
- Add a separate patch for ie_length bounds checks which were
flagged as behavior changes
- Use umin() instead of min_t() for unsigned value capping
- Fix empty else block left after dead code removal

Salman Alghamdi (7):
staging: rtl8723bs: fix buffer over-read in rtw_update_protection
staging: rtl8723bs: rtw_mlme: add bounds checks before ie_length
subtraction
staging: rtl8723bs: rtw_mlme: wrap lines exceeding 100 columns
staging: rtl8723bs: rtw_mlme: extract local variables for long
expressions
staging: rtl8723bs: rtw_mlme: remove dead commented-out code
staging: rtl8723bs: rtw_mlme: consolidate capability comparisons lines
staging: rtl8723bs: rtw_mlme: add blank line for readability

drivers/staging/rtl8723bs/core/rtw_mlme.c | 280 +++++++++++++++-------
1 file changed, 187 insertions(+), 93 deletions(-)

--
2.54.0