From patchwork Tue Sep 4 15:31:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10587519 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 1199614BD for ; Tue, 4 Sep 2018 15:19:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 02BB429C88 for ; Tue, 4 Sep 2018 15:19:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 00EDA29C76; Tue, 4 Sep 2018 15:19:23 +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=unavailable 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 B92C129C88 for ; Tue, 4 Sep 2018 15:19:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727530AbeIDToh (ORCPT ); Tue, 4 Sep 2018 15:44:37 -0400 Received: from mga03.intel.com ([134.134.136.65]:57520 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727453AbeIDToh (ORCPT ); Tue, 4 Sep 2018 15:44:37 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Sep 2018 08:19:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,329,1531810800"; d="scan'208";a="70484198" Received: from pl-dbox.sh.intel.com (HELO intel.com) ([10.239.13.138]) by orsmga008.jf.intel.com with ESMTP; 04 Sep 2018 08:19:00 -0700 Date: Tue, 4 Sep 2018 23:31:35 +0800 From: kbuild test robot To: Kenneth Lee Cc: kbuild-all@01.org, Jonathan Corbet , Herbert Xu , "David S . Miller" , Joerg Roedel , Alex Williamson , Kenneth Lee , Hao Fang , Zhou Wang , Zaibo Xu , Philippe Ombredanne , Greg Kroah-Hartman , Thomas Gleixner , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, iommu@lists.linux-foundation.org, kvm@vger.kernel.org, linux-accelerators@lists.ozlabs.org, Lu Baolu , Sanjay Kumar , linuxarm@huawei.com Subject: [RFC PATCH] vfio: vfio_sdmdev_groups[] can be static Message-ID: <20180904153135.GI17047@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180903005204.26041-4-nek.in.cn@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 1e47d5e60865 ("vfio: add sdmdev support") Signed-off-by: kbuild test robot --- vfio_sdmdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vfio/sdmdev/vfio_sdmdev.c b/drivers/vfio/sdmdev/vfio_sdmdev.c index c6eb5d4..e7d3c23 100644 --- a/drivers/vfio/sdmdev/vfio_sdmdev.c +++ b/drivers/vfio/sdmdev/vfio_sdmdev.c @@ -103,7 +103,7 @@ static const struct attribute_group vfio_sdmdev_group = { .name = VFIO_SDMDEV_PDEV_ATTRS_GRP_NAME, .attrs = vfio_sdmdev_attrs, }; -const struct attribute_group *vfio_sdmdev_groups[] = { +static const struct attribute_group *vfio_sdmdev_groups[] = { &vfio_sdmdev_group, NULL, };