Received: by 10.192.165.148 with SMTP id m20csp4211830imm; Mon, 23 Apr 2018 21:49:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx48pCHYiPaEDxMu38elyKaC6rj5mU94eZaVh4RyVwLktJOBzl1rDiCvoSV5P5J0+zN+gYIbS X-Received: by 10.98.56.144 with SMTP id f138mr22603550pfa.173.1524545351860; Mon, 23 Apr 2018 21:49:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524545351; cv=none; d=google.com; s=arc-20160816; b=f3zCgtjWSm4fiaNGSKewdOYXNvHVBsXLDuD75RoBL/ZQNKGf+OEw+TFTDiOE0eVC6n CuFzz/cIgeDl9q7N6JLQWQyYM7+u0GI2pxIM+NApO1Nyr2xISyKiGjyA8mne0qY9V9vI G7p4ntT4Np3fw2HbXjjwLLR1x29MTcwlcm7c4p+TmZWhbsB1Qb2Wk3cMabnNP+CUAMhi aRXmaON860Ikvc23yVWPPBNYr88fNjMcNG693sRH3TDw00ftnxOByKxA0gHFdmElWSyn tU4iFBlqaYPWBFLn5RDjnoptAQzjVfi7RYJzyQMew1uyKIbM2iRBLYcTS97ZBnwsAu/C MzdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Uf7PjHK/bTGWEq2Mz1N8lSkUht+dyJHh8rVXMgcDoy0=; b=tZZc1giV5ZoUBXgUpZKgRjiWtXyr2dB2+52MfKfMrkaXKnz4BmgbjdZSHdtnL74Xej 6Sj/Gbmmqq5vHJ26/VvSmMeYzHN/gnMpt2X1xsQXCuG7LablkbJffn00WT+S1Q7Zmn3S nvGFmmS5iizkpuNk4KfggSziQk0SVg5V9veX4yefECEbnQNxSQM0WtW2vVyrLhAQ7T90 46xq/hSfjeqM0SFF5cG44d0IC7M3LRfayQshg2cjGJvaE9vuFeNCHESsJ1zuoCMq5EOW k7FXBopswIfpHAA1RRNHtQ1QlfPx8jmkFA+3NOLofuL5ISdn4YDO2XMZjd7GIgCKflYw 2KwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t2-v6si12982501plo.235.2018.04.23.21.48.57; Mon, 23 Apr 2018 21:49:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755614AbeDXErl (ORCPT + 99 others); Tue, 24 Apr 2018 00:47:41 -0400 Received: from mga06.intel.com ([134.134.136.31]:51202 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751678AbeDXErj (ORCPT ); Tue, 24 Apr 2018 00:47:39 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2018 21:47:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,321,1520924400"; d="scan'208";a="34148038" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga007.fm.intel.com with ESMTP; 23 Apr 2018 21:47:36 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fAprc-000PNI-5E; Tue, 24 Apr 2018 12:47:36 +0800 Date: Tue, 24 Apr 2018 12:47:34 +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 , Keith Busch , Wei Zhang , Sinan Kaya , Timur Tabi , Oza Pawandeep Subject: [RFC PATCH] PCI/AER/DPC: pcie_do_fatal_recovery() can be static Message-ID: <20180424044734.GA16123@lkp-ne02> References: <1524496993-29799-9-git-send-email-poza@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1524496993-29799-9-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: 3d7db543cb99 ("PCI/AER/DPC: Align FATAL error handling for AER and DPC") Signed-off-by: Fengguang Wu --- err.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pcie/err.c b/drivers/pci/pcie/err.c index 99d52a0..9d8d7ef 100644 --- a/drivers/pci/pcie/err.c +++ b/drivers/pci/pcie/err.c @@ -273,7 +273,7 @@ static pci_ers_result_t broadcast_error_message(struct pci_dev *dev, return result_data.result; } -pci_ers_result_t pcie_do_fatal_recovery(struct pci_dev *dev, int severity) +static pci_ers_result_t pcie_do_fatal_recovery(struct pci_dev *dev, int severity) { struct pci_dev *udev; struct pci_bus *parent;