From patchwork Thu Dec 28 16:27:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10135089 X-Patchwork-Delegate: bhelgaas@google.com 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 8007C60388 for ; Thu, 28 Dec 2017 16:28:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 729262D885 for ; Thu, 28 Dec 2017 16:28:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 679D82D887; Thu, 28 Dec 2017 16:28:09 +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=-6.9 required=2.0 tests=BAYES_00,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 EB3712D885 for ; Thu, 28 Dec 2017 16:28:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751153AbdL1Q17 (ORCPT ); Thu, 28 Dec 2017 11:27:59 -0500 Received: from mga07.intel.com ([134.134.136.100]:48512 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293AbdL1Q14 (ORCPT ); Thu, 28 Dec 2017 11:27:56 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Dec 2017 08:27:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,471,1508828400"; d="scan'208";a="5613813" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga007.fm.intel.com with ESMTP; 28 Dec 2017 08:27:53 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1eUb8G-0000qB-2D; Fri, 29 Dec 2017 00:34:12 +0800 Date: Fri, 29 Dec 2017 00:27:08 +0800 From: kbuild test robot To: Oza Pawandeep Cc: kbuild-all@01.org, Bjorn Helgaas , Philippe Ombredanne , Thomas Gleixner , Greg Kroah-Hartman , Kate Stewart , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Dongdong Liu , Gabriele Paoloni , Keith Busch , Wei Zhang , Sinan Kaya , Timur Tabi , Oza Pawandeep Subject: [RFC PATCH] PCI/DPC/AER: pci_find_dpc_dev() can be static Message-ID: <20171228162708.GA58636@lkp-ib04> References: <1514370022-4431-3-git-send-email-poza@codeaurora.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1514370022-4431-3-git-send-email-poza@codeaurora.org> 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-Virus-Scanned: ClamAV using ClamSMTP Fixes: fc0212127f27 ("PCI/DPC/AER: Address Concurrency between AER and DPC") Signed-off-by: Fengguang Wu --- pcie-dpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pcie/pcie-dpc.c b/drivers/pci/pcie/pcie-dpc.c index e7ced58..68296ec 100644 --- a/drivers/pci/pcie/pcie-dpc.c +++ b/drivers/pci/pcie/pcie-dpc.c @@ -88,7 +88,7 @@ static int find_dpc_dev_iter(struct device *device, void *data) return 0; } -struct device *pci_find_dpc_dev(struct pci_dev *pdev) +static struct device *pci_find_dpc_dev(struct pci_dev *pdev) { struct device *dev = NULL;