From patchwork Fri Oct 23 10:47:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 7471921 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DE94C9F1C3 for ; Fri, 23 Oct 2015 10:48:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CEA7320965 for ; Fri, 23 Oct 2015 10:48:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B601C2095F for ; Fri, 23 Oct 2015 10:48:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751322AbbJWKsU (ORCPT ); Fri, 23 Oct 2015 06:48:20 -0400 Received: from mga03.intel.com ([134.134.136.65]:35807 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751303AbbJWKsU (ORCPT ); Fri, 23 Oct 2015 06:48:20 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 23 Oct 2015 03:48:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,186,1444719600"; d="scan'208";a="833772790" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 23 Oct 2015 03:48:18 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1ZpZtH-0000aN-4g; Fri, 23 Oct 2015 18:48:07 +0800 Date: Fri, 23 Oct 2015 18:47:46 +0800 From: kbuild test robot To: Hannes Reinecke Cc: kbuild-all@01.org, Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Hannes Reinecke Subject: [RFC PATCH] pci: pci_vpd_pci22_size can be static Message-ID: <20151023104746.GA118189@lkp-hsx03> References: <201510231810.RlZ52VfY%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1445591396-95395-1-git-send-email-hare@suse.de> 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-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Fengguang Wu --- access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pci/access.c b/drivers/pci/access.c index 3a49b14..41d86f6 100644 --- a/drivers/pci/access.c +++ b/drivers/pci/access.c @@ -495,7 +495,7 @@ static int pci_vpd_f0_dev_check(struct pci_dev *dev) * @old_size: current assumed size, also maximum allowed size * */ -size_t +static size_t pci_vpd_pci22_size(struct pci_dev *dev, size_t old_size) { loff_t off = 0;