From patchwork Thu Aug 2 10:29:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10462 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 198F623F3D for ; Thu, 2 Aug 2012 10:30:52 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id CE048A19070 for ; Thu, 2 Aug 2012 10:30:51 +0000 (UTC) Received: by yenq6 with SMTP id q6so8412394yen.11 for ; Thu, 02 Aug 2012 03:30:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=xlg6SWtskwnwS7qqwocHyEaWRJzLz43NqQosUkoaX3o=; b=PeneLx7kU5+lDCAeKRdE/2//AUIxwpI4/xOHEmihSKAugpcHUhlMetYrtEExFsibOx yeIqTMg+Pd45hnd7ZbSS8GBvtGGrdED7LYkmGpC4VDHUTPicC3yD7thP1ToD1Dkp20++ zsOa56YTtwOs/EgPEasPi952m34KdcVtKqalvl0Nlkad6lLcQ4+wy71/tvToI59jDRy2 GeMRh36moI1Fg0p9FCXOikAtsv+uGm3e957CmQS04SRkHS2aUJPhcg+vrDg3GhcGIjJ8 Ms2anuyxgAJNj76UWQmRgr7hthJVrr9/p/CyNxHSMVNkeeeznW+vbuunOinDo8oqnEAf zgXQ== Received: by 10.50.160.168 with SMTP id xl8mr2767371igb.25.1343903451135; Thu, 02 Aug 2012 03:30:51 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.87.40 with SMTP id u8csp247238igz; Thu, 2 Aug 2012 03:30:50 -0700 (PDT) Received: by 10.236.125.133 with SMTP id z5mr20014159yhh.121.1343903450450; Thu, 02 Aug 2012 03:30:50 -0700 (PDT) Received: from mail-gg0-f178.google.com (mail-gg0-f178.google.com [209.85.161.178]) by mx.google.com with ESMTPS id d45si5702948yhe.14.2012.08.02.03.30.50 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 02 Aug 2012 03:30:50 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.161.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.161.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.161.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by ggcq6 with SMTP id q6so9723330ggc.37 for ; Thu, 02 Aug 2012 03:30:50 -0700 (PDT) Received: by 10.42.129.147 with SMTP id q19mr3218662ics.43.1343903449769; Thu, 02 Aug 2012 03:30:49 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id l19sm8389061iga.10.2012.08.02.03.30.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 02 Aug 2012 03:30:48 -0700 (PDT) From: Sachin Kamat To: linux-ext4@vger.kernel.org Cc: tytso@mit.edu, adilger.kernel@dilger.ca, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] ext4: Replace plain integer with NULL in super.c file Date: Thu, 2 Aug 2012 15:59:35 +0530 Message-Id: <1343903375-27506-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQmMNwA7KlgKdt0eAHdGbF/SNCoT6bSDuieGreR+1duE1Irimsn/2mnrmWBjyxHSqOIHNTMA 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)