From patchwork Sun Mar 25 04:28:12 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: 10306485 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BA7C3600CC for ; Sun, 25 Mar 2018 04:29:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A65412918A for ; Sun, 25 Mar 2018 04:29:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B3BC29362; Sun, 25 Mar 2018 04:29: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=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 789CE2918A for ; Sun, 25 Mar 2018 04:29:01 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 34F5C224AE8D3; Sat, 24 Mar 2018 21:22:26 -0700 (PDT) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=fengguang.wu@intel.com; receiver=linux-nvdimm@lists.01.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id F1F7320954B94 for ; Sat, 24 Mar 2018 21:22:24 -0700 (PDT) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Mar 2018 21:28:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,358,1517904000"; d="scan'208";a="214387416" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga006.fm.intel.com with ESMTP; 24 Mar 2018 21:28:58 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1ezxH7-000Mrq-B8; Sun, 25 Mar 2018 12:28:57 +0800 Date: Sun, 25 Mar 2018 12:28:12 +0800 From: kbuild test robot To: Oliver O'Halloran Subject: [RFC PATCH] libnvdimm: bus_desc can be static Message-ID: <20180325042812.GA28332@lkp-ib03.lkp.intel.com> References: <20180323081209.31387-3-oohall@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180323081209.31387-3-oohall@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kbuild-all@01.org, linux-nvdimm@lists.01.org Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 6cb2b51b9b76 ("libnvdimm: Add device-tree based driver") Signed-off-by: Fengguang Wu --- of_nvdimm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvdimm/of_nvdimm.c b/drivers/nvdimm/of_nvdimm.c index 79c2829..4ed373d 100644 --- a/drivers/nvdimm/of_nvdimm.c +++ b/drivers/nvdimm/of_nvdimm.c @@ -15,7 +15,7 @@ * for dispatching regions into the correct bus type, but this is useful * for now. */ -struct nvdimm_bus_descriptor bus_desc; +static struct nvdimm_bus_descriptor bus_desc; struct nvdimm_bus *bus; /* region driver */