From: Hungyu Lin <dennylin0707@gmail.com>
To: gregkh@linuxfoundation.org
Cc: error27@gmail.com, khomenkov@mailbox.org,
khushalchitturi@gmail.com, s9430939@naver.com,
marcosandrade95963@gmail.com, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org, Hungyu Lin <dennylin0707@gmail.com>
Subject: [PATCH v4 0/4] staging: rtl8723bs: convert update_attrib path to errno
Date: Tue, 7 Jul 2026 11:24:59 +0000 [thread overview]
Message-ID: <20260707112503.612-1-dennylin0707@gmail.com> (raw)
This 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 the caller
chain.
Changes in v4:
- Resend the complete series as requested by Greg KH
- No code changes
Changes in v3:
- Split update_attrib_sec_info() errno conversion from caller changes
- Keep update_attrib() using _FAIL in the intermediate step
- Convert update_attrib() and rtw_xmit() to propagate errno
Changes in v2:
- Keep braces around the multi-line if statement in update_attrib()
- Split errno conversion and propagation as suggested by Dan Carpenter
- Change update_attrib_sec_info() and update_attrib() return types to int
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 | 55 +++++++++--------------
1 file changed, 20 insertions(+), 35 deletions(-)
--
2.43.0
next reply other threads:[~2026-07-07 11:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 11:24 Hungyu Lin [this message]
2026-07-07 11:25 ` [PATCH v4 1/4] staging: rtl8723bs: simplify update_attrib_sec_info control flow Hungyu Lin
2026-07-07 11:25 ` [PATCH v4 2/4] staging: rtl8723bs: simplify update_attrib " Hungyu Lin
2026-07-07 11:25 ` [PATCH v4 3/4] staging: rtl8723bs: convert update_attrib_sec_info to return errno Hungyu Lin
2026-07-07 11:25 ` [PATCH v4 4/4] staging: rtl8723bs: convert update_attrib " Hungyu Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260707112503.612-1-dennylin0707@gmail.com \
--to=dennylin0707@gmail.com \
--cc=error27@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=khomenkov@mailbox.org \
--cc=khushalchitturi@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=marcosandrade95963@gmail.com \
--cc=s9430939@naver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox