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: 890609 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40849k2CSbz9s0b for ; Sun, 25 Mar 2018 15:31:54 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=intel.com Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40849k130zzF1wB for ; Sun, 25 Mar 2018 15:31:54 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=intel.com X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=intel.com (client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=fengguang.wu@intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=intel.com Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40846t0SrkzF0wy for ; Sun, 25 Mar 2018 15:29:25 +1100 (AEDT) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Mar 2018 21:28:58 -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: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Oliver O'Halloran , kbuild-all@01.org, linux-nvdimm@lists.01.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 */