Hi,

These patches replace usage of WILC_ERRORREPORT, WILC_ERRORCHECK,
WILC_NULLCHECK and WILC_CATCH by plain code that either returns the error
value or sets the error code and uses goto to jump to error handling code. 

v2:
- rearrange patches so that they will not introduce compile warnings

Mike Rapoport (11):
  staging: wilc1000: replace WILC_ERRORREPORT with return
  staging: wilc1000: reduce WILC_{ERRORREPORT,CATCH} usage
  staging: wilc1000: wilc_mq_send: reorder spin_lock and allocations
  staging: wilc1000: wilc_mq_send: refactor allocation errors handling
  staging: wilc1000: replace WILC_NULLCHECK with return
  staging: wilc1000: remove usage of WILC_ERRORCHECK
  staging: wilc1000: Handle_CfgParam: refactor error handling
  staging: wilc1000: Handle_Scan: refactor error handling
  staging: wilc1000: hif_ger_cfg: refactor error handling
  staging: wilc1000: host_interface: refactor error handling
  staging: wilc1000: wilc_errorsupport: remove unused macros

 drivers/staging/wilc1000/coreconfigurator.c       |   3 +-
 drivers/staging/wilc1000/host_interface.c         | 652 +++++++---------------
 drivers/staging/wilc1000/wilc_errorsupport.h      |  27 -
 drivers/staging/wilc1000/wilc_msgqueue.c          |  61 +-
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c |  54 +-
 5 files changed, 237 insertions(+), 560 deletions(-)

-- 
2.1.0

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to