Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1592574

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

From simran singhal <singhalsimran0@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 0/3] staging: Clean up tests if NULL returned on failure
Date 2017-03-04 17:50 +0100
Message-ID <thl2x-3tD-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

simran singhal (3):
  staging: rtl8192u: Clean up tests if NULL returned on failure
  staging: speakup: Clean up tests if NULL returned on failure
  staging: vc04_services: Clean up tests if NULL returned on failure

 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c      | 2 +-
 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c       | 2 +-
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c         | 2 +-
 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c              | 4 ++--
 drivers/staging/speakup/main.c                                 | 2 +-
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.c | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] staging: Clean up tests if NULL returned on failure simran singhal <singhalsimran0@gmail.com> - 2017-03-04 17:50 +0100
  [PATCH 1/3] staging: rtl8192u: Clean up tests if NULL returned on failure simran singhal <singhalsimran0@gmail.com> - 2017-03-04 17:50 +0100
  [PATCH 2/3] staging: speakup: Clean up tests if NULL returned on failure simran singhal <singhalsimran0@gmail.com> - 2017-03-04 17:50 +0100
  [PATCH 3/3] staging: vc04_services: Clean up tests if NULL returned on failure simran singhal <singhalsimran0@gmail.com> - 2017-03-04 17:50 +0100
  Re: [Outreachy kernel] [PATCH 0/3] staging: Clean up tests if NULL  returned on failure Julia Lawall <julia.lawall@lip6.fr> - 2017-03-04 18:40 +0100

csiph-web