[PATCH 0/5] staging: rtl8192e: Clean up tests if NULL returned on failure

simran singhal singhalsimran0 at gmail.com
Fri Mar 10 05:07:34 UTC 2017


This patch series tests if functions like kmalloc/kzalloc return NULL
on failure. When NULL represents failure, !x is commonly used.

simran singhal (5):
  staging: rtllib_crypt_ccmp: Clean up tests if NULL returned on failure
  staging: rtllib_crypt_tkip: Clean up tests if NULL returned on failure
  staging: rtllib_crypt_wep: Clean up tests if NULL returned on failure
  staging: rtllib_softmac: Clean up tests if NULL returned on failure
  staging: rtllib_wx: Clean up tests if NULL returned on failure

 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 2 +-
 drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 2 +-
 drivers/staging/rtl8192e/rtllib_crypt_wep.c  | 2 +-
 drivers/staging/rtl8192e/rtllib_softmac.c    | 2 +-
 drivers/staging/rtl8192e/rtllib_wx.c         | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)

-- 
2.7.4



More information about the devel mailing list