From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752386AbdCDRdI (ORCPT ); Sat, 4 Mar 2017 12:33:08 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:18316 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752225AbdCDRdH (ORCPT ); Sat, 4 Mar 2017 12:33:07 -0500 X-IronPort-AV: E=Sophos;i="5.35,242,1484002800"; d="scan'208";a="263125190" Date: Sat, 4 Mar 2017 18:29:47 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: simran singhal cc: w.d.hubbs@gmail.com, chris@the-brannons.com, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, speakup@linux-speakup.org, linux-rpi-kernel@lists.infradead.org, outreachy-kernel@googlegroups.com, linux-arm-kernel@lists.infradead.org Subject: Re: [Outreachy kernel] [PATCH 0/3] staging: Clean up tests if NULL returned on failure In-Reply-To: <1488646015-7059-1-git-send-email-singhalsimran0@gmail.com> Message-ID: References: <1488646015-7059-1-git-send-email-singhalsimran0@gmail.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > 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@googlegroups.com. > To post to this group, send email to outreachy-kernel@googlegroups.com. > 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. >