From patchwork Mon Mar 23 18:08:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 6074791 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7EE399F350 for ; Mon, 23 Mar 2015 18:09:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C70A2202FE for ; Mon, 23 Mar 2015 18:09:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DED9D202E6 for ; Mon, 23 Mar 2015 18:09:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752866AbbCWSJs (ORCPT ); Mon, 23 Mar 2015 14:09:48 -0400 Received: from mga02.intel.com ([134.134.136.20]:8597 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752214AbbCWSJe (ORCPT ); Mon, 23 Mar 2015 14:09:34 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 23 Mar 2015 11:09:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,453,1422950400"; d="scan'208";a="696495279" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 23 Mar 2015 11:09:29 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1Ya6n2-0006jC-SY; Tue, 24 Mar 2015 02:09:28 +0800 Date: Tue, 24 Mar 2015 02:08:59 +0800 From: kbuild test robot To: Yijing Wang Cc: kbuild-all@01.org, Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH pci] PCI: pci_find_host_bridge() can be static Message-ID: <20150323180859.GA44683@snb> References: <201503240247.Lu2Ttzhc%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201503240247.Lu2Ttzhc%fengguang.wu@intel.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 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Fengguang Wu --- host-bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bridge.c index 8efb3a7..61171c4 100644 --- a/drivers/pci/host-bridge.c +++ b/drivers/pci/host-bridge.c @@ -144,7 +144,7 @@ static struct pci_bus *find_pci_root_bus(struct pci_bus *bus) return bus; } -struct pci_host_bridge *pci_find_host_bridge(struct pci_bus *bus) +static struct pci_host_bridge *pci_find_host_bridge(struct pci_bus *bus) { struct pci_bus *root_bus = find_pci_root_bus(bus);