Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754643AbbHDGvo (ORCPT ); Tue, 4 Aug 2015 02:51:44 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:34414 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754561AbbHDGvm (ORCPT ); Tue, 4 Aug 2015 02:51:42 -0400 Date: Tue, 4 Aug 2015 12:21:32 +0530 From: Sudip Mukherjee To: Adrian Remonda Cc: devel@driverdev.osuosl.org, christian.gromm@microchip.com, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org Subject: Re: [PATCHv4 2/6] Staging: most: mostcore/core.c. Fix "Using plain integer as NULL pointer" warnings Message-ID: <20150804065132.GA7744@sudip-pc> References: <1438636959-757-1-git-send-email-adrianremonda@gmail.com> <1438636959-757-3-git-send-email-adrianremonda@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438636959-757-3-git-send-email-adrianremonda@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 660 Lines: 18 On Mon, Aug 03, 2015 at 11:22:35PM +0200, Adrian Remonda wrote: > This patch fixes the warning generated by sparse: "Using plain integer > as NULL pointer" by replacing the offending 0 with NULL. > > Signed-off-by: Adrian Remonda > --- This patch will not apply because of 7ac5c9f0a022 ("Staging: most: fix snprintf() is printing too much"). You need to update your tree. regards sudip -- 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/