Return-path: Received: from mail-io0-f179.google.com ([209.85.223.179]:34498 "EHLO mail-io0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751719AbbINMHq (ORCPT ); Mon, 14 Sep 2015 08:07:46 -0400 MIME-Version: 1.0 In-Reply-To: <20150914083627.GB9715@sudip-pc> References: <1442208814-9001-1-git-send-email-ronit.crj@gmail.com> <20150914083627.GB9715@sudip-pc> Date: Mon, 14 Sep 2015 17:37:45 +0530 Message-ID: (sfid-20150914_140802_489285_C8CB3FBC) Subject: Re: [PATCH] Staging: wilc1000: Use NULL instead of zero From: Ronit Halder To: Sudip Mukherjee Cc: johnny.kim@atmel.com, rachel.kim@atmel.com, linux-wireless@vger.kernel.org, chris.park@atmel.com, Greg KH , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, tony.cho@atmel.com, leo.kim@atmel.com Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: I checked but it didn't show me any warning. Can you please specify the warning? regards On Mon, Sep 14, 2015 at 2:06 PM, Sudip Mukherjee wrote: > On Mon, Sep 14, 2015 at 11:03:34AM +0530, Ronit Halder wrote: >> This patch fixes the warning generated by sparse >> "Using plain integer as NULL pointer" by using NULL >> instead of zero. >> >> Signed-off-by: Ronit halder >> --- > This fixes sparse warning but introduces new checkpatch warnings about > NULL comparison. > > regards > sudip