[PATCH v2 0/3] clean up error handling

Omer El Idrissi posted 3 patches 1 week, 1 day ago
There is a newer version of this series
drivers/staging/rtl8723bs/os_dep/os_intfs.c  |  8 ++++----
drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 21 +++++++-------------
2 files changed, 11 insertions(+), 18 deletions(-)
[PATCH v2 0/3] clean up error handling
Posted by Omer El Idrissi 1 week, 1 day ago
Make 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.

Omer El Idrissi (3):
  staging: rtl8723bs: use direct returns in sdio_dvobj_init()
  staging: rtl8723bs: cleanup return in sdio_init()
  staging: rtl8723bs: clean up callees for sdio_init function

 drivers/staging/rtl8723bs/os_dep/os_intfs.c  |  8 ++++----
 drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 21 +++++++-------------
 2 files changed, 11 insertions(+), 18 deletions(-)

-- 
2.51.0