staging: rtl8723bs: convert update_attrib path to errno
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 0 repliesNew
- v3 posting 2/21 of 4 patches 0 repliesSuperseded
- v3 posting 1/23 of 4 patches 3 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 1 reply | Superseded | |
| v1 | 4 patches | 2 replies | Superseded |
Changes in v4 from the cover letter
- Resend the complete series as requested by Greg KH
- No code changes
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | staging: rtl8723bs: simplify update_attrib_sec_info control flowdrivers/ | +5 | 0 replies | |
| 2/4 | staging: rtl8723bs: simplify update_attrib control flowdrivers/ | +7 | 0 replies | |
| 3/4 | staging: rtl8723bs: convert update_attrib_sec_info to return errnodrivers/ | +6 | 0 replies | |
| 4/4 | staging: rtl8723bs: convert update_attrib to return errnodrivers/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/4] staging: rtl8723bs: convert update_attrib path to errno
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(-)
Signature · 1 line
2.43.0