Return-path: Date: Wed, 28 Sep 2016 17:50:00 +0300 From: Mika Westerberg To: Wei Yongjun Cc: Wim Van Sebroeck , Guenter Roeck , "Rafael J. Wysocki" , Wei Yongjun , linux-watchdog@vger.kernel.org Subject: Re: [PATCH -next] watchdog: wdat_wdt: Fix warning for using 0 as NULL Message-ID: <20160928145000.GC1218@lahna.fi.intel.com> References: <1475073895-10369-1-git-send-email-weiyj.lk@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1475073895-10369-1-git-send-email-weiyj.lk@gmail.com> List-ID: On Wed, Sep 28, 2016 at 02:44:55PM +0000, Wei Yongjun wrote: > From: Wei Yongjun > > Fixes the following sparse warnings: > > drivers/watchdog/wdat_wdt.c:210:66: warning: Using plain integer as NULL pointer > drivers/watchdog/wdat_wdt.c:235:66: warning: Using plain integer as NULL pointer > > Signed-off-by: Wei Yongjun Good catch! Acked-by: Mika Westerberg (I should run sparse more often).