Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757283Ab2ECLDj (ORCPT ); Thu, 3 May 2012 07:03:39 -0400 Received: from ns1.pc-advies.be ([83.149.101.17]:55783 "EHLO spo001.leaseweb.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757221Ab2ECLDi (ORCPT ); Thu, 3 May 2012 07:03:38 -0400 Date: Thu, 3 May 2012 13:03:36 +0200 From: Wim Van Sebroeck To: H Hartley Sweeten Cc: Linux Kernel , linux-watchdog@vger.kernel.org Subject: Re: [PATCH] watchdog: sp5100_tco.c: quiet sparse noise about using plain integer was NULL pointer Message-ID: <20120503110336.GL3074@spo001.leaseweb.com> References: <201205021654.43838.hartleys@visionengravers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201205021654.43838.hartleys@visionengravers.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 539 Lines: 19 Hi, > Pointers should not be compared to plain integers. > Quiets the sparse warning: > warning: Using plain integer as NULL pointer > > Signed-off-by: H Hartley Sweeten > Cc: Wim Van Sebroeck Added to linux-watchdog-next. Kind regards, Wim. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/