mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Clean up tests if NULL returned on failure
@ 2017-03-03 18:55 simran singhal
  2017-03-03 18:55 ` [PATCH 1/2] staging: media: " simran singhal
  2017-03-03 18:55 ` [PATCH 2/2] staging: rtl8192e: " simran singhal
  0 siblings, 2 replies; 4+ messages in thread
From: simran singhal @ 2017-03-03 18:55 UTC (permalink / raw)
  To: Larry.Finger
  Cc: florian.c.schilhabel, gregkh, devel, linux-kernel, outreachy-kernel

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

simran singhal (2):
  staging: media: Clean up tests if NULL returned on failure
  staging: rtl8192e: Clean up tests if NULL returned on failure

 drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c | 2 +-
 drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c      | 4 ++--
 drivers/staging/media/lirc/lirc_zilog.c                   | 6 +++---
 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 ++--
 8 files changed, 12 insertions(+), 12 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-09 17:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-03 18:55 [PATCH 0/2] Clean up tests if NULL returned on failure simran singhal
2017-03-03 18:55 ` [PATCH 1/2] staging: media: " simran singhal
2017-03-09 16:46   ` Greg KH
2017-03-03 18:55 ` [PATCH 2/2] staging: rtl8192e: " simran singhal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®