Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp887553ybg; Fri, 18 Oct 2019 08:49:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5OIi/BcRL2xD/mmtsSxvTi4mdNl/q26ddIHOA/0HTPv4RfB/xrKcZd5njcR0dgercwg8T X-Received: by 2002:a17:907:426f:: with SMTP id nx23mr9693878ejb.43.1571413773554; Fri, 18 Oct 2019 08:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571413773; cv=none; d=google.com; s=arc-20160816; b=k0dMafbdQX3ibijePYlNeDGEze1PFaA/e23C68a7itEm4C5jvm803jLm+hexg6cadd adVbWscZdlOc7L17EfOMlgyTc5pbwHnyWkqFCiPoWeN5kqLZZe5vKR4iQxj2Qh9j/EKS e6kydBmj8OVf6gSYxL0QxCh5J3iR7u/5pEQ9fNy6w2h5FnzZVlxg1D5DBVC0XJ/AafH0 cSrODi8U3kKv2JpAwJ83NenLI9x3QqzFmI3lkjSbg3/HJmaIciZ/WTOThdi+zJhEcrbv 6hID5MzZXIL6lLM6yo1L5pxO9HrjsL6zWvl2mvqhbCZSCqOAs0koDxeLdjlNQC/S5Nl/ Ftxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=vaWTT7JqqW/omoel2Kh7+Tx9nZC4ZDq/vWAR367HkMc=; b=UOH/o5Nn7qPLLhNdBJMrO1MUJqTnbj7rOHso7/K58xqFvi6k6P/cgqIetlkuXyOjIp 6sVfBm6wmTWik/0mK10/zo/0Y7BjEckbDDXyYO3VRg7CoZk/tPdVZSy+KxOKZ27FApfg IJuYRP52pM0UzlvuhDDXyloazy1nBvAai8dVynd8Ml7bSqLEH7Q/aTxgWvFItEbHREzM KLotVd4hvo3MWGkHP1NBUauXIo4w452ukhxiQ3X96SIP+S015irlAqqV8nB+AckITZ5V hv7fF7kj1fc6o7YtWjNcJ4vjIfBPnVd/RW6RYcS/oJigphy18Tjpy3m9YGzhFlPXw44p mqtw== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5si3425587ejr.417.2019.10.18.08.49.10; Fri, 18 Oct 2019 08:49:33 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502494AbfJQMqb (ORCPT + 99 others); Thu, 17 Oct 2019 08:46:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35992 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389259AbfJQMqb (ORCPT ); Thu, 17 Oct 2019 08:46:31 -0400 Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0FFA97FDFA for ; Thu, 17 Oct 2019 12:46:31 +0000 (UTC) Received: by mail-ot1-f70.google.com with SMTP id h13so1041938otk.20 for ; Thu, 17 Oct 2019 05:46:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vaWTT7JqqW/omoel2Kh7+Tx9nZC4ZDq/vWAR367HkMc=; b=Si/S9EPiBZDU4YXa+TmuLbbd0USbu8sBlTASMisBuqp3ig7AnmyVzkeHDx3+YW5fYv w2qigVFua/oMZFbKZnXgSH8T8CWw7T1jDmuygF1eLcjuCJeDrCixbeQep65zOB8lYv3D szq50xJHSeUt5/JYAdY+RvGBF0b+SWuJ5TtfIiM+k6J9s7tRt3ncOIpne6VtWLVmfCg0 LxWjFy+GQLR96DiCBztVe+NjgnF6a5IGeq+94h0bSv6Zgo5uXJJT85c8meYpCafS3RY3 eFfSY2HG5R4QW+nFN8XXuaMAB+YZRWhFFuKXibcw3SJO0RHi1fCDq6qobsUq6MRIum9/ 3ESg== X-Gm-Message-State: APjAAAX7dcHBaa3KN7FpJL60/jlpf9MuX8YvJDCm0hPA5RuA4RWi/Z1M /NoRzohq+Y0ZZyusqQPfeF09wG1Sq2X0xwC94npGUqOUWf1+lSKz7oRmqpntUJ+lxr2s6QRK9S5 Kp48Ls98T8sbYD98a8w3fGQCiAscfOjbtTndYMTk2 X-Received: by 2002:a9d:578c:: with SMTP id q12mr2894077oth.185.1571316390464; Thu, 17 Oct 2019 05:46:30 -0700 (PDT) X-Received: by 2002:a9d:578c:: with SMTP id q12mr2894065oth.185.1571316390261; Thu, 17 Oct 2019 05:46:30 -0700 (PDT) MIME-Version: 1.0 References: <20191017110225.30841-1-ben.dooks@codethink.co.uk> <25bb4857-950e-592a-b2ba-7730867742b3@redhat.com> In-Reply-To: <25bb4857-950e-592a-b2ba-7730867742b3@redhat.com> From: Andreas Gruenbacher Date: Thu, 17 Oct 2019 14:46:19 +0200 Message-ID: Subject: Re: [Cluster-devel] [PATCH] gfs2: make gfs2_fs_parameters static To: Andrew Price Cc: "Ben Dooks (Codethink)" , linux-kernel@lists.codethink.co.uk, cluster-devel , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 17, 2019 at 1:42 PM Andrew Price wrote: > On 17/10/2019 12:02, Ben Dooks (Codethink) wrote: > > 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, > > > > Looks good to me. Andy, I've added a reviewed-by tag for you and pushed this to for-next. Thanks, Andreas