All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Clean up tests if NULL returned on failure
@ 2016-03-20 20:37 Bhaktipriya Shridhar
  2016-03-20 20:38 ` [PATCH 1/4] staging: rtl8712: usb_ops_linux: " Bhaktipriya Shridhar
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bhaktipriya Shridhar @ 2016-03-20 20:37 UTC (permalink / raw)
  To: outreachy-kernel

Some functions like kmalloc/kzalloc/kcalloc return NULL on failure.
When NULL represents failure, !x is commonly used.

Bhaktipriya Shridhar (4):
  staging: rtl8712: usb_ops_linux: Clean up tests if NULL returned on
    failure
  staging: rtl8712: rtl871x_mlme: Clean up tests if NULL returned on
    failure
  staging: rtl8712: rtl871x_cmd: Clean up tests if NULL returned on
    failure
  staging: rtl8712: rtl871x_ioctl_linux: Clean up tests if NULL
    returned on failure

 drivers/staging/rtl8712/rtl871x_cmd.c         | 80 +++++++++++++--------------
 drivers/staging/rtl8712/rtl871x_ioctl_linux.c |  4 +-
 drivers/staging/rtl8712/rtl871x_mlme.c        |  4 +-
 drivers/staging/rtl8712/usb_ops_linux.c       |  2 +-
 4 files changed, 45 insertions(+), 45 deletions(-)

--
2.1.4



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

end of thread, other threads:[~2016-03-20 20:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-20 20:37 [PATCH 0/4] Clean up tests if NULL returned on failure Bhaktipriya Shridhar
2016-03-20 20:38 ` [PATCH 1/4] staging: rtl8712: usb_ops_linux: " Bhaktipriya Shridhar
2016-03-20 20:39 ` [PATCH 2/4] staging: rtl8712: rtl871x_mlme: " Bhaktipriya Shridhar
2016-03-20 20:39 ` [PATCH 3/4] staging: rtl8712: rtl871x_cmd: " Bhaktipriya Shridhar
2016-03-20 20:40 ` [PATCH 4/4] staging: rtl8712: rtl871x_ioctl_linux: " Bhaktipriya Shridhar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.