From patchwork Fri May 18 22:24:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 8817 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 CA62523EB5 for ; Fri, 18 May 2012 22:25:38 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 9ACC6A186F6 for ; Fri, 18 May 2012 22:25:38 +0000 (UTC) Received: by ghbz12 with SMTP id z12so219147ghb.11 for ; Fri, 18 May 2012 15:25:38 -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:date:from :to:cc:subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:x-gm-message-state; bh=0/VDJ8fDmyEjNlU9ijZNrg0A9cMVSUO3yCyIC1X3+ac=; b=JKEINQAG/B09hrbjtifxlBRrmsFVGXRpwWYHyD5ME2zx1agK4Fpu2OTsJ5UhPC56o5 eZtUyYcwSmnuHFr5ZPAUDZ+ieHk39gDKV7AlrR+LC411mEsS20E6XslPfgOsZ8O7h04f aq7p07JSIwG6OGHa3g4ytna6pZBeCBNaneiG/AMzsyORKx6LjbF/6SMBFmg3OUJP+z9I Roy9/sBiX5OdtJMSH2SMdTMv6se83ZT+HzlwGxLrM7GyoDmUgQ8TvCgZ1A6NHbUO0YQN FeeB77sPzQQgrjSAlOPnMFJm0zCURxsrMO5rVW/yC4ggnN0BZMtLiT5daVdDYxSwdlCm mCuA== Received: by 10.50.154.169 with SMTP id vp9mr1949094igb.53.1337379937991; Fri, 18 May 2012 15:25:37 -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.231.35.72 with SMTP id o8csp135218ibd; Fri, 18 May 2012 15:25:37 -0700 (PDT) Received: by 10.68.132.34 with SMTP id or2mr43749209pbb.118.1337379937360; Fri, 18 May 2012 15:25:37 -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 pb1si5038571pbc.246.2012.05.18.15.25.37 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 May 2012 15:25:37 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of anton.vorontsov@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 anton.vorontsov@linaro.org) smtp.mail=anton.vorontsov@linaro.org Received: by pbbrr4 with SMTP id rr4so5393342pbb.37 for ; Fri, 18 May 2012 15:25:37 -0700 (PDT) Received: by 10.68.238.73 with SMTP id vi9mr10324444pbc.14.1337379937132; Fri, 18 May 2012 15:25:37 -0700 (PDT) Received: from localhost (c-71-204-165-222.hsd1.ca.comcast.net. [71.204.165.222]) by mx.google.com with ESMTPS id z2sm14124083pbv.34.2012.05.18.15.25.34 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 May 2012 15:25:36 -0700 (PDT) Date: Fri, 18 May 2012 15:24:07 -0700 From: Anton Vorontsov To: Greg Kroah-Hartman , Kees Cook , Colin Cross , Tony Luck Cc: Arnd Bergmann , John Stultz , Shuah Khan , arve@android.com, Rebecca Schultz Zavin , Jesper Juhl , Randy Dunlap , Stephen Boyd , Thomas Meyer , Andrew Morton , Marco Stornelli , WANG Cong , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linaro-kernel@lists.linaro.org, patches@linaro.org, kernel-team@android.com Subject: [PATCH 01/14] pstore/inode: Make pstore_fill_super() static Message-ID: <20120518222407.GA23089@lizard> References: <20120518222314.GA9425@lizard> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120518222314.GA9425@lizard> User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQlbnzScCWQnsYtq9D/e61BfPJ+yusr+zWW7MFQHG2D+AAcHTEeVL7ra20EL3paEzeZcSOyg There's no reason to extern it. The patch fixes the annoying sparse warning: CHECK fs/pstore/inode.c fs/pstore/inode.c:264:5: warning: symbol 'pstore_fill_super' was not declared. Should it be static? Signed-off-by: Anton Vorontsov --- fs/pstore/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/pstore/inode.c b/fs/pstore/inode.c index 1950788..49b40ea 100644 --- a/fs/pstore/inode.c +++ b/fs/pstore/inode.c @@ -258,7 +258,7 @@ fail: return rc; } -int pstore_fill_super(struct super_block *sb, void *data, int silent) +static int pstore_fill_super(struct super_block *sb, void *data, int silent) { struct inode *inode;