[PATCH 0/5] staging: rtl8723bs: convert xmit helpers to return errno

From: Hungyu Lin

Date: Mon Jul 13 2026 - 03:06:11 EST


This series first simplifies control flow in rtw_make_wlanhdr()
and rtw_xmitframe_coalesce() by removing redundant return
variables and goto-based error handling. It then converts
rtw_make_wlanhdr(), xmitframe_addmic(), and
rtw_xmitframe_coalesce() to return errno values while
propagating errno values through the caller chain.

Hungyu Lin (5):
staging: rtl8723bs: remove redundant return variable in
rtw_make_wlanhdr()
staging: rtl8723bs: convert rtw_make_wlanhdr() to return errno
staging: rtl8723bs: convert xmitframe_addmic() to return errno
staging: rtl8723bs: simplify rtw_xmitframe_coalesce() control flow
staging: rtl8723bs: convert rtw_xmitframe_coalesce() to return errno

drivers/staging/rtl8723bs/core/rtw_xmit.c | 45 ++++++++-----------
.../staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +-
drivers/staging/rtl8723bs/include/rtw_xmit.h | 4 +-
3 files changed, 22 insertions(+), 29 deletions(-)

--
2.43.0