From patchwork Tue Sep 4 08:12:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 11159 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 820DE23F26 for ; Tue, 4 Sep 2012 08:15:00 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 781E1A18800 for ; Tue, 4 Sep 2012 08:14:10 +0000 (UTC) Received: by iafj25 with SMTP id j25so7992391iaf.11 for ; Tue, 04 Sep 2012 01:14:59 -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=SJaCveP7Xfkg3Rcz6VkNCaSyJ34MXXLNPM9lQCoYuIA=; b=E6SQUr7V9Tzn0KJOD45z2azxqIiwfM+5+20nCxVbKD5VLGW53QWEz9fZ18aJY8xydJ 8FCtz0Gh4sKHjI6mXfZvuDU+p9KoimpEIiYU9ogNIGGpR8/OWhCbx9blr7FwQVOcB3n3 +WW80YpsFEhNPghhcHSCxjblWbM2LIc1xz9oiEuLB5I3CBnQ6UVJ8XCcb2RUXuQ0G78x oYc812hH91b1eBPY5SLUm5d+Cb01CISfa+aCpODUBwCGl82+Y7DilfD0ctI5DOGt61zX Q6ei47tsAhzFFkHAkkSXtAQaHfR6JQwNT5pQDicXWHvOhGxzXdT3P+QizQYP58LxPq8V UhxQ== Received: by 10.42.60.139 with SMTP id q11mr17069454ich.53.1346746499544; Tue, 04 Sep 2012 01:14:59 -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.184.232 with SMTP id ex8csp175502igc; Tue, 4 Sep 2012 01:14:58 -0700 (PDT) Received: by 10.66.81.201 with SMTP id c9mr39296129pay.80.1346746498541; Tue, 04 Sep 2012 01:14:58 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id gk6si26255970pbc.275.2012.09.04.01.14.58 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Sep 2012 01:14:58 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbcmd12 with SMTP id md12so9798642pbc.37 for ; Tue, 04 Sep 2012 01:14:58 -0700 (PDT) Received: by 10.68.226.100 with SMTP id rr4mr16369568pbc.143.1346746497880; Tue, 04 Sep 2012 01:14:57 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id mu8sm11698125pbc.49.2012.09.04.01.14.40 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Sep 2012 01:14:44 -0700 (PDT) From: Sachin Kamat To: linux-ext4@vger.kernel.org Cc: jack@suse.cz, akpm@linux-foundation.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] ext3: Replace 0 with NULL for pointer in super.c file Date: Tue, 4 Sep 2012 13:42:00 +0530 Message-Id: <1346746320-32582-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQllBDVGCtEdc9jxBqkAVdqyEGZjnLMfSoOHG3uBDiyQsOWt8MEMofxqzFPda8bYeSJ2QBwb Fixes the following sparse warning: fs/ext3/super.c:983:45: warning: Using plain integer as NULL pointer Signed-off-by: Sachin Kamat --- fs/ext3/super.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/ext3/super.c b/fs/ext3/super.c index cf1fb17..0e17142 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c @@ -980,7 +980,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); switch (token) { case Opt_bsd_df: