From patchwork Tue Mar 26 15:37:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10871435 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-2.web.codeaurora.org (Postfix) with ESMTP id 73030139A for ; Tue, 26 Mar 2019 15:38:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FF1628D5F for ; Tue, 26 Mar 2019 15:38:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E65C28E30; Tue, 26 Mar 2019 15:38:51 +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=ham 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 F3EA928E76 for ; Tue, 26 Mar 2019 15:38:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731546AbfCZPiu (ORCPT ); Tue, 26 Mar 2019 11:38:50 -0400 Received: from mga01.intel.com ([192.55.52.88]:28651 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731475AbfCZPiu (ORCPT ); Tue, 26 Mar 2019 11:38:50 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Mar 2019 08:38:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,273,1549958400"; d="scan'208";a="134961982" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 26 Mar 2019 08:38:49 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1h8oA4-0002iG-R8; Tue, 26 Mar 2019 23:38:48 +0800 Date: Tue, 26 Mar 2019 23:37:57 +0800 From: kbuild test robot To: Bjorn Helgaas Cc: kbuild-all@01.org, linux-pci@vger.kernel.org Subject: [RFC PATCH pci] nvme-pci: nvme_rescan_prepare() can be static Message-ID: <20190326153756.GA108234@lkp-hsx02> References: <201903262317.Xf94y2xJ%lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201903262317.Xf94y2xJ%lkp@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) 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: aad30cad0869 ("nvme-pci: Handle movable BARs") Signed-off-by: kbuild test robot --- pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index ec1461e..6575fe6 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -2916,7 +2916,7 @@ static void nvme_error_resume(struct pci_dev *pdev) flush_work(&dev->ctrl.reset_work); } -void nvme_rescan_prepare(struct pci_dev *pdev) +static void nvme_rescan_prepare(struct pci_dev *pdev) { struct nvme_dev *dev = pci_get_drvdata(pdev); @@ -2925,7 +2925,7 @@ void nvme_rescan_prepare(struct pci_dev *pdev) dev->bar = NULL; } -void nvme_rescan_done(struct pci_dev *pdev) +static void nvme_rescan_done(struct pci_dev *pdev) { struct nvme_dev *dev = pci_get_drvdata(pdev);