Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH 0/4] staging: rtl8723bs: convert update_attrib path to errno
@ 2026-06-14 18:23 Hungyu Lin
  2026-06-14 18:23 ` [PATCH 1/4] staging: rtl8723bs: simplify update_attrib_sec_info control flow Hungyu Lin
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Hungyu Lin @ 2026-06-14 18:23 UTC (permalink / raw)
  To: gregkh; +Cc: error27, linux-staging, linux-kernel, Hungyu Lin

Convert the update_attrib path to use standard kernel return
conventions: 0 on success and negative errno on failure.

The series first simplifies control flow in
update_attrib_sec_info() and update_attrib() by replacing
goto-based error handling with direct returns. It then converts
both functions to return errno values and propagates the
returned error codes through callers.

Hungyu Lin (4):
  staging: rtl8723bs: simplify update_attrib_sec_info control flow
  staging: rtl8723bs: simplify update_attrib control flow
  staging: rtl8723bs: convert update_attrib_sec_info to return errno
  staging: rtl8723bs: convert update_attrib to return errno

 drivers/staging/rtl8723bs/core/rtw_xmit.c | 54 ++++++++---------------
 1 file changed, 19 insertions(+), 35 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-06-15  7:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-14 18:23 [PATCH 0/4] staging: rtl8723bs: convert update_attrib path to errno Hungyu Lin
2026-06-14 18:23 ` [PATCH 1/4] staging: rtl8723bs: simplify update_attrib_sec_info control flow Hungyu Lin
2026-06-14 18:23 ` [PATCH 2/4] staging: rtl8723bs: simplify update_attrib " Hungyu Lin
2026-06-14 18:23 ` [PATCH 3/4] staging: rtl8723bs: convert update_attrib_sec_info to return errno Hungyu Lin
2026-06-15  7:42   ` Dan Carpenter
2026-06-14 18:23 ` [PATCH 4/4] staging: rtl8723bs: convert update_attrib " Hungyu Lin
2026-06-15  7:43   ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox