Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp767512ybe; Wed, 4 Sep 2019 07:28:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxcXhsy4NUs6L21/SOs7yGv0O18O2ae3NZ0+4JJB418tIrCCbha7vN0JcZ4sAQ09HwQoOB/ X-Received: by 2002:a17:90a:bb91:: with SMTP id v17mr5061819pjr.84.1567607339873; Wed, 04 Sep 2019 07:28:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567607339; cv=none; d=google.com; s=arc-20160816; b=huB4Y8ae+UsmibJqDsFObZOICM/gXQd5U9n9ftQOjNzA7ONFV0M4FDQU1rZ+bJZoAT hxPTbjCP7c8rq+qbdsGKK3a2n4YF5wYx618RMGn2k4MQOrl/gK8mprk/5b5w1Gt2MIG+ 1L5oduSDFrPbinfCoTFgYXjXUJPgrlPxMsJOYRZbrfkiIzf8g3DMHvCdkGpTs6xkj3jF mwsxFRfJ7lLzg3IJXUw50WBfxnbtJZu4/Ygg1OXOLmDZRS+Rxt3pgr9f8j5S0Ho5RUX9 U01Ljp4v5fIZTXYiPvr0Jq4LO3sX12fovgQiovPQPreeVx/e3QfZrBjHn0kq0yWSXjBl k4sQ== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=9JUeYdPoEBcCsV78enTt5VOm1umupSC1U/9vVNafUHY=; b=ThHorxRtxmg0m33NiYcLBGQBrv5vzoWGf8BOIGz78q4INjjdPab5nZbQ8hCNPkEUK4 tFaQv4R1xKMDetkWLl/KuPdvS3F32dPAeBp6ngucHxT4zKgB58v16rlHSAWTesbDEq+5 +9vrTx0U9BmssgFyBPQx9KLdasJ3QkwNdKzu1fFitIOd1MeZJwHH7Ny5sUBj7HXzdjM1 tnlfcGdTtoQLdCRKfnvtFMu1HIEVDWLRKhDGQJ1L6shBIRpxUBve7VoCvq2NNPydMqHU olUVO1SMJGvEwz53D43T9057ak97RcqoOQQdV5L98QrMaW9//s7UvzVngr2HXKeb1juO y18g== 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 j63si16895686pgd.493.2019.09.04.07.28.42; Wed, 04 Sep 2019 07:28:59 -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 S1730547AbfIDO1t (ORCPT + 99 others); Wed, 4 Sep 2019 10:27:49 -0400 Received: from foss.arm.com ([217.140.110.172]:56462 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729809AbfIDO1s (ORCPT ); Wed, 4 Sep 2019 10:27:48 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C8E7E1570; Wed, 4 Sep 2019 07:27:47 -0700 (PDT) Received: from e121166-lin.cambridge.arm.com (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8F7E93F59C; Wed, 4 Sep 2019 07:27:46 -0700 (PDT) Date: Wed, 4 Sep 2019 15:27:37 +0100 From: Lorenzo Pieralisi To: Haiyang Zhang Cc: Krzysztof Wilczynski , Bjorn Helgaas , KY Srinivasan , Stephen Hemminger , Sasha Levin , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" Subject: Re: [PATCH v3] PCI: hv: Make functions static Message-ID: <20190904142737.GA28184@e121166-lin.cambridge.arm.com> References: <20190828221846.6672-1-kw@linux.com> <20190829091713.27130-1-kw@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 29, 2019 at 03:50:47PM +0000, Haiyang Zhang wrote: > > > > -----Original Message----- > > From: Krzysztof Wilczynski On Behalf Of Krzysztof > > Wilczynski > > Sent: Thursday, August 29, 2019 2:17 AM > > To: Bjorn Helgaas > > Cc: KY Srinivasan ; Haiyang Zhang > > ; Stephen Hemminger > > ; Sasha Levin ; Lorenzo > > Pieralisi ; linux-pci@vger.kernel.org; linux- > > kernel@vger.kernel.org; linux-hyperv@vger.kernel.org > > Subject: [PATCH v3] PCI: hv: Make functions static > > > > Functions hv_read_config_block(), hv_write_config_block() and > > hv_register_block_invalidate() are not used anywhere else and are local to > > drivers/pci/controller/pci-hyperv.c, > > and do not need to be in global scope, so make these static. > > > > Resolve following compiler warning that can be seen when building with > > warnings enabled (W=1): > > > > drivers/pci/controller/pci-hyperv.c:933:5: warning: > > no previous prototype for ‘hv_read_config_block’ > > [-Wmissing-prototypes] > > > > drivers/pci/controller/pci-hyperv.c:1013:5: warning: > > no previous prototype for ‘hv_write_config_block’ > > [-Wmissing-prototypes] > > > > drivers/pci/controller/pci-hyperv.c:1082:5: warning: > > no previous prototype for ‘hv_register_block_invalidate’ > > [-Wmissing-prototypes] > > > > Signed-off-by: Krzysztof Wilczynski > > Reviewed-by: Haiyang Zhang This patch should go via the net tree - the code it is fixing is queued there, I will drop this patch from the PCI review queue. If it helps: Acked-by: Lorenzo Pieralisi