From: Sachin Kamat Subject: Re: [PATCH] ext4: Replace plain integer with NULL in super.c file Date: Mon, 13 Aug 2012 21:46:09 +0530 Message-ID: References: <1343903375-27506-1-git-send-email-sachin.kamat@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: tytso@mit.edu, adilger.kernel@dilger.ca, sachin.kamat@linaro.org, patches@linaro.org To: linux-ext4@vger.kernel.org Return-path: Received: from mail-vb0-f46.google.com ([209.85.212.46]:35352 "EHLO mail-vb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751379Ab2HMQQJ (ORCPT ); Mon, 13 Aug 2012 12:16:09 -0400 Received: by vbbff1 with SMTP id ff1so3202927vbb.19 for ; Mon, 13 Aug 2012 09:16:09 -0700 (PDT) In-Reply-To: <1343903375-27506-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-ext4-owner@vger.kernel.org List-ID: ping... On 2 August 2012 15:59, Sachin Kamat wrote: > Fixes the following sparse warning: > fs/ext4/super.c:1672:45: warning: Using plain integer as NULL pointer > > Signed-off-by: Sachin Kamat > --- > fs/ext4/super.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/fs/ext4/super.c b/fs/ext4/super.c > index d76ec82..1b000a6 100644 > --- a/fs/ext4/super.c > +++ b/fs/ext4/super.c > @@ -1669,7 +1669,7 @@ static int parse_options(char *options, struct super_block *sb, > * Initialize args struct so we know whether arg was > * found; some options take optional arguments. > */ > - args[0].to = args[0].from = 0; > + args[0].to = args[0].from = NULL; > token = match_token(p, tokens, args); > if (handle_mount_opt(sb, p, token, args, journal_devnum, > journal_ioprio, is_remount) < 0) > -- > 1.7.4.1 > -- With warm regards, Sachin