From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6330852738662924288 X-Received: by 10.157.21.60 with SMTP id u57mr1996033otf.134.1474147692429; Sat, 17 Sep 2016 14:28:12 -0700 (PDT) X-BeenThere: outreachy-kernel@googlegroups.com Received: by 10.107.174.38 with SMTP id x38ls2513801ioe.42.gmail; Sat, 17 Sep 2016 14:28:12 -0700 (PDT) X-Received: by 10.66.76.73 with SMTP id i9mr1988963paw.95.1474147692146; Sat, 17 Sep 2016 14:28:12 -0700 (PDT) Return-Path: Received: from mail.linuxfoundation.org (mail.linuxfoundation.org. [140.211.169.12]) by gmr-mx.google.com with ESMTPS id z4si3637326pam.0.2016.09.17.14.28.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Sep 2016 14:28:12 -0700 (PDT) Received-SPF: pass (google.com: domain of gregkh@linuxfoundation.org designates 140.211.169.12 as permitted sender) client-ip=140.211.169.12; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of gregkh@linuxfoundation.org designates 140.211.169.12 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org Received: from localhost (pes75-3-78-192-101-3.fbxo.proxad.net [78.192.101.3]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 44FFF9C; Sat, 17 Sep 2016 21:28:11 +0000 (UTC) Date: Sat, 17 Sep 2016 23:28:16 +0200 From: Greg KH To: Sandhya Bankar Cc: outreachy-kernel@googlegroups.com, thomas.petazzoni@free-electrons.com, noralf@tronnes.org Subject: Re: [PATCH] Staging: fbtft: Use !x instead of x == NULL. Message-ID: <20160917212816.GA12466@kroah.com> References: <20160916090231.GA3940@sandhya> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160916090231.GA3940@sandhya> User-Agent: Mutt/1.7.0 (2016-08-17) On Fri, Sep 16, 2016 at 02:32:32PM +0530, Sandhya Bankar wrote: > Use !x instead of x == NULL. > This issue was found by checkpatch. > > Signed-off-by: Sandhya Bankar > --- > drivers/staging/fbtft/fbtft_device.c | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/staging/fbtft/fbtft_device.c b/drivers/staging/fbtft/fbtft_device.c > index 924abd3..e921183 100755 Oh, please fix up and resend. thanks, greg k-h