Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp875055ybg; Fri, 18 Oct 2019 08:38:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRqpD1aoyQhfdiFh7VdKukU81jV9EazJSnvMFzBzwKvzun1fL9ifNedHPTp3D6KW3Cqi/G X-Received: by 2002:a17:906:c2c1:: with SMTP id ch1mr8901975ejb.321.1571413120900; Fri, 18 Oct 2019 08:38:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571413120; cv=none; d=google.com; s=arc-20160816; b=HQExhtLcqUfQpiMyz5IT7dMLf9sdvenZQryVzB0Qi93KM7J6CRzEMOx+wncOo44SF9 d3JYS0uBq4cl5cKsh5OTgHN+jZBezEBaoOTd+To/oUCiKbHvYKK7ae4/tpLFjs0IVUHh 3YC94fRKeLc5h8Sk3KMW6Qq5Y+MdyOhogfUGfwxSzh7BNEeoKJUpvWujnQwFjC6ELzEv qMlmwio/HczrW+vAwLL4P21I7R6j2cZjsvX5pC4SQU+L10z9YKkeBKRjHk9Kn1l7Hh8f EjPnYwNdQazBuTA8XVMKqlByG9y6EpBQxttDr+C3SWvNoPCKBTh1ir6kMdBpdZrfIBcH bfcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=qhWoDds9DgwgG3ljpfftLwofEfMmblNFAX48k3qLeqY=; b=rhBmcOVPUqOQyYc9gLald+jg4JTMpE9jfnhJZM6B/oguCcQPSMHAlM2TDdW3j6hXFq 1ZSM08T5GPMq6jILLVGgrrmXs3DmknIobNXfLmRaJkkUr0cBpOQnS4m8lV7ssgqfcZ5R k8BIRFiUYzOqszaF3h1TWyERKBgZ1dEcIbPKICYsRzpeKuh2Ia4Lgjy/t3Ky2pICYIwM LsKE8f2i7pVszItlhfmCtOZsnhKXrHr129LjB2VhWq98yWdUxiEYUKHPCkQpcr/iG6Ce mCvENR04TrZ6NjEqmS8TQkHsoPqC5fgVOzg9FL7F/9NGPRwOd+XR+3wMOerd0JMjMXLj q6ig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z22si3637951eji.413.2019.10.18.08.38.16; Fri, 18 Oct 2019 08:38:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393359AbfJQLCc (ORCPT + 99 others); Thu, 17 Oct 2019 07:02:32 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:52506 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393253AbfJQLCc (ORCPT ); Thu, 17 Oct 2019 07:02:32 -0400 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iL3Y3-0002YT-Ar; Thu, 17 Oct 2019 12:02:27 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iL3Y2-00082E-TZ; Thu, 17 Oct 2019 12:02:26 +0100 From: "Ben Dooks (Codethink)" To: linux-kernel@lists.codethink.co.uk Cc: "Ben Dooks (Codethink)" , Bob Peterson , Andreas Gruenbacher , cluster-devel@redhat.com, linux-kernel@vger.kernel.org Subject: [PATCH] gfs2: make gfs2_fs_parameters static Date: Thu, 17 Oct 2019 12:02:25 +0100 Message-Id: <20191017110225.30841-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The gfs2_fs_parameters is not used outside the unit it is declared in, so make it static. Fixes the following sparse warning: fs/gfs2/ops_fstype.c:1331:39: warning: symbol 'gfs2_fs_parameters' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: Bob Peterson Cc: Andreas Gruenbacher Cc: cluster-devel@redhat.com Cc: linux-kernel@vger.kernel.org --- fs/gfs2/ops_fstype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c index 681b44682b0d..ebdef1c5f580 100644 --- a/fs/gfs2/ops_fstype.c +++ b/fs/gfs2/ops_fstype.c @@ -1328,7 +1328,7 @@ static const struct fs_parameter_enum gfs2_param_enums[] = { {} }; -const struct fs_parameter_description gfs2_fs_parameters = { +static const struct fs_parameter_description gfs2_fs_parameters = { .name = "gfs2", .specs = gfs2_param_specs, .enums = gfs2_param_enums, -- 2.23.0