Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1842432imm; Sat, 9 Jun 2018 02:46:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ7hi64BZ1Tow53SVxzrNYs0E9h+b632wJPC/dSIjlEwSyVhS6c4PsYJjWbBV9j2qyDh7P3 X-Received: by 2002:a17:902:ac97:: with SMTP id h23-v6mr10210294plr.140.1528537565089; Sat, 09 Jun 2018 02:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528537565; cv=none; d=google.com; s=arc-20160816; b=IX9P7uI6E7/keCOu1r+W1n7pEmFPtMx+yj7C05ujvW8SRSW7ycCGvAsFR0mqctiNOi oh8DSgh6Ejq8fopSX4GxiXcG4bt17jyLQit7+DK6+2gz3Ba2ac+pKDZxAQB3t+kZNkwv t2DLpQP0KjAViPAE+NlgOKGR3JJ2Pk+Y9pxu8Ak+8WMw8FeBZnUQGpkt1+WYQJfJVG08 9XstcacYkqOvjpL2p/qsOKNMuJjgxkiGT04NZr4h2dkCkZJTdQ87C9BXFxo/F+Y9L/QA 75s7AJHXJL8npxfYcah+zzf4GFAI3O0ToHUAjpLzYhNleIMBZ95VaLb5fCf8r+0jmBt+ SWhg== 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=u84WPkCtSK++0gwIQ4yBKjgfaOqTP3laRm7jsDLkUec=; b=VcGdSC7HzMX3SiW9tcBCzZCyv331ubVlKm9FINNMFqWdOL+WiUV2YD4GHumtW/RZKH 9J2Bluzb1GaojZ+wCzZN+1WKIyLP/zSjmjWzt7gPs5BfUoWQKRjMq4+i2d9Z9F9P+ob8 UVUu3xVbkGxd3RYrZHTnWAaQ2M+8jLSgogtB/F1w5wTzCzQmW3DWWnFuLKkpTrcWOnej R+EZRi2sA/wK4u4dE4G4UA6wYV2guweQi1ni+badMEj24GnpLFXFQgNkOmAO5WgiwkiG 8NbWN3CC5xSpK0MwVbGtXCccTMt8WEBZIWAqM347uBPDEa0oRvyW5h3zs//iKXowGIf8 prVA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b67-v6si60596228plb.262.2018.06.09.02.45.48; Sat, 09 Jun 2018 02:46:05 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752979AbeFIJpX (ORCPT + 99 others); Sat, 9 Jun 2018 05:45:23 -0400 Received: from mga07.intel.com ([134.134.136.100]:65015 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751414AbeFIJpW (ORCPT ); Sat, 9 Jun 2018 05:45:22 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jun 2018 02:45:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,494,1520924400"; d="scan'208";a="62627200" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 09 Jun 2018 02:45:08 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fRaQl-000I5E-RH; Sat, 09 Jun 2018 17:45:07 +0800 Date: Sat, 9 Jun 2018 17:44:12 +0800 From: kbuild test robot To: Gustavo Pimentel Cc: kbuild-all@01.org, bhelgaas@google.com, lorenzo.pieralisi@arm.com, Joao.Pinto@synopsys.com, jingoohan1@gmail.com, kishon@ti.com, adouglas@cadence.com, jesper.nilsson@axis.com, linux-pci@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Gustavo Pimentel Subject: [RFC PATCH] PCI: dwc: __dw_pcie_ep_find_next_cap() can be static Message-ID: <20180609094411.GA86347@cairo> References: <299abe22c35db333dca228a48fdb03ecc662e247.1527862777.git.gustavo.pimentel@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <299abe22c35db333dca228a48fdb03ecc662e247.1527862777.git.gustavo.pimentel@synopsys.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@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: 797b96a7422e ("PCI: dwc: Add MSI-X callbacks handler") Signed-off-by: kbuild test robot --- pcie-designware-ep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pci/dwc/pcie-designware-ep.c b/drivers/pci/dwc/pcie-designware-ep.c index c7f2fa9..a498f1f 100644 --- a/drivers/pci/dwc/pcie-designware-ep.c +++ b/drivers/pci/dwc/pcie-designware-ep.c @@ -40,8 +40,8 @@ void dw_pcie_ep_reset_bar(struct dw_pcie *pci, enum pci_barno bar) __dw_pcie_ep_reset_bar(pci, bar, 0); } -u8 __dw_pcie_ep_find_next_cap(struct dw_pcie *pci, u8 cap_ptr, - u8 cap) +static u8 __dw_pcie_ep_find_next_cap(struct dw_pcie *pci, u8 cap_ptr, + u8 cap) { u8 cap_id, next_cap_ptr; u16 reg; @@ -59,7 +59,7 @@ u8 __dw_pcie_ep_find_next_cap(struct dw_pcie *pci, u8 cap_ptr, return __dw_pcie_ep_find_next_cap(pci, next_cap_ptr, cap); } -u8 dw_pcie_ep_find_capability(struct dw_pcie *pci, u8 cap) +static u8 dw_pcie_ep_find_capability(struct dw_pcie *pci, u8 cap) { u8 next_cap_ptr; u16 reg;