clean up error handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 1 replyIn review
- v3 posting 2/24 patches 0 repliesSuperseded
- v3 posting 1/24 patches 4 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 3 patches | 0 replies | Superseded | |
| v1 | 2 patches | 3 replies | Superseded |
Changes in v4 from the cover letter
- Squash commits 2, 3, and 4 into one commit
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | staging: rtl8723bs: use direct returns in sdio_dvobj_init()drivers/ | +6 | 0 replies | |
| 2/2 | staging: rtl8723bs: cleanup return in sdio_init()drivers/ drivers/ | +8 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Dan Carpenter |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/2] clean up error handling
This series lets sdio_init() propagate standard kernel error codes instead of returning _SUCCESS/_FAIL. There are two callers for this function. rtw_resume_process_normal() already returns negative values but the caller doesn't check for errors so changing this doesn't affect anything. sdio_dvobj_init() returns NULL on
error so leave that as-is.
---
v4:
- Squash commits 2, 3, and 4 into one commit
v3:
- Add one commit that lets sdio_dvobj_init() use more readable error handling
- Add v3 and v2 tags
v2:
- Add one commit that lets rtw_resume_process_normal cleanly check errors and return errno instead of using vendor-defined check
v1:
- Use direct returns in sdio_dvobj_init()
- Cleanup return in sdio_init()
Omer El Idrissi (2):
staging: rtl8723bs: use direct returns in sdio_dvobj_init()
staging: rtl8723bs: cleanup return in sdio_init()
drivers/staging/rtl8723bs/os_dep/os_intfs.c | 8 +++---- drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 25 ++++++++------------ 2 files changed, 14 insertions(+), 19 deletions(-)
Signature · 1 line
2.51.0