Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2434589imm; Wed, 16 May 2018 12:49:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoMjHkaPEEYhXxyZMH67ddXPfUlLGdf63mMbTuLroB/WEoV4NHVX1G6hn1t2EUMiuEXmoXV X-Received: by 2002:a17:902:6b44:: with SMTP id g4-v6mr2248219plt.390.1526500182779; Wed, 16 May 2018 12:49:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526500182; cv=none; d=google.com; s=arc-20160816; b=eXAygnAjZ2RcDB+GSVtb/RGpgLOTbFziNrzlAyCWjgGLjqC5pesf6c4nHT2N15UZtI re5DqDtGXsM9+vCgkopyqv9/egV0GECfuH7gNLKZ4tkasu4mFH7RCTCwvMASL8NIhobl EFD+TJrfVTMuDe8gpm4NDtywZdKdseEwIxOkSKsyCtAyu22xpb/J6DeIVN0WyWS/piLB YPdJy2yrV5dyMzEHh2usQBVsTOXYrvNCEFf/Mn+LXzySENnl5lkkLaLtLQJcqACBLU5S nokU0z3VaIf7VBHGeT4S4DlnbmM53KPhl9iS13Z/8MUHX/a3UAaFLhkZUMFxrroqvAzi TkVA== 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=2uZer0p5F3mVozbQgZcteFAc0MIW0JFdhIFL1Io5+0g=; b=d/DO5cvu5RSdl6KwJyKtWUiunOEfa55h3CYHDv0vTR5BEbp9N/zpAILsBFg07DUnP+ 6ADsf9waIsfoJeS+wPH0zUjdm/JE055alV8twt/n7NdgUlhLx2fw0SM6iNxfsN71FE7n TnV3KtwUZGK2wyLytTjFXplxEgMPGdB/DXPqpxD2DpNkSqBqvHw5piHTGck3cMlYkzx/ kiXppyoGg4pGUTFUDxbPkvN/Fj32FJy5zQ92lEZ2qEyixgVQP9rAco0kOY8w943fAhE2 gRpgPxOSGrMhTg+EJpDshKq+UnD8BCUKPTuuDey069qClCMX/528vz38ocVjSFq5OCed WdJg== 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 l23-v6si278951pgu.125.2018.05.16.12.48.58; Wed, 16 May 2018 12:49:42 -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 S1751219AbeEPTsn (ORCPT + 99 others); Wed, 16 May 2018 15:48:43 -0400 Received: from mga17.intel.com ([192.55.52.151]:56505 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750778AbeEPTsl (ORCPT ); Wed, 16 May 2018 15:48:41 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 May 2018 12:48:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,406,1520924400"; d="scan'208";a="54971941" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga004.fm.intel.com with ESMTP; 16 May 2018 12:48:40 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fJ2Pf-0002GQ-6s; Thu, 17 May 2018 03:48:39 +0800 Date: Thu, 17 May 2018 03:47:42 +0800 From: kbuild test robot To: Salil Mehta Cc: kbuild-all@01.org, davem@davemloft.net, salil.mehta@huawei.com, yisen.zhuang@huawei.com, lipeng321@huawei.com, mehta.salil@opnsrc.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com Subject: [RFC PATCH] net: hns3: hns3_pci_sriov_configure() can be static Message-ID: <20180516194742.GA85037@lkp-sb05> References: <20180515182014.42196-10-salil.mehta@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180515182014.42196-10-salil.mehta@huawei.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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: fdb793670a00 ("net: hns3: Add support of .sriov_configure in HNS3 driver") Signed-off-by: Fengguang Wu --- hns3_enet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c index e85ff38..3617b9d 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c @@ -1579,7 +1579,7 @@ static void hns3_remove(struct pci_dev *pdev) * Enable or change the number of VFs. Called when the user updates the number * of VFs in sysfs. **/ -int hns3_pci_sriov_configure(struct pci_dev *pdev, int num_vfs) +static int hns3_pci_sriov_configure(struct pci_dev *pdev, int num_vfs) { int ret;