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

From: Julia Lawall
Date: Sat Mar 04 2017 - 12:33:17 EST




On Sat, 4 Mar 2017, simran singhal wrote:

> 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

Acked-by: Julia Lawall <julia.lawall@xxxxxxx>

>
> 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
>
> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@xxxxxxxxxxxxxxxxx
> To post to this group, send email to outreachy-kernel@xxxxxxxxxxxxxxxxx
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1488646015-7059-1-git-send-email-singhalsimran0%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>