From patchwork Tue Aug 14 21:53:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10566157 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0F9B21510 for ; Tue, 14 Aug 2018 21:54:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3A9C2A77E for ; Tue, 14 Aug 2018 21:54:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E56132A78C; Tue, 14 Aug 2018 21:54:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 902212A77E for ; Tue, 14 Aug 2018 21:54:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728441AbeHOAnL (ORCPT ); Tue, 14 Aug 2018 20:43:11 -0400 Received: from mga09.intel.com ([134.134.136.24]:42275 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728196AbeHOAnL (ORCPT ); Tue, 14 Aug 2018 20:43:11 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2018 14:54:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,240,1531810800"; d="scan'208";a="75395038" Received: from bee.sh.intel.com (HELO lkp-server01) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 14 Aug 2018 14:53:58 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1fphG4-000Hz7-HG; Wed, 15 Aug 2018 05:53:44 +0800 Date: Wed, 15 Aug 2018 05:53:13 +0800 From: kbuild test robot To: Hannes Reinecke Cc: kbuild-all@01.org, Jens Axboe , Christoph Hellwig , Sagi Grimberg , Keith Busch , Bart van Assche , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, Linux Kernel Mailinglist , Hannes Reinecke , Hannes Reinecke Subject: [RFC PATCH] nvme: nvme_ns_id_attr_group can be static Message-ID: <20180814215313.GA30264@lkp-wsm-ep2> References: <20180814073305.87255-3-hare@suse.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180814073305.87255-3-hare@suse.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 8bb7a8e4617e ("nvme: register ns_id attributes as default sysfs groups") Signed-off-by: kbuild test robot --- core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 8e26d98..76cdb60 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -2729,7 +2729,7 @@ static umode_t nvme_ns_id_attrs_are_visible(struct kobject *kobj, return a->mode; } -const struct attribute_group nvme_ns_id_attr_group = { +static const struct attribute_group nvme_ns_id_attr_group = { .attrs = nvme_ns_id_attrs, .is_visible = nvme_ns_id_attrs_are_visible, };