Received: by 10.223.164.202 with SMTP id h10csp167151wrb; Tue, 7 Nov 2017 04:40:42 -0800 (PST) X-Google-Smtp-Source: ABhQp+TgLUIzEys+f3A+QqeEFzZ93i/O6V2Vd28ifKaRh3cdKrBZTwRsMdqJ3jCSIVsSb+jwHLyc X-Received: by 10.99.113.29 with SMTP id m29mr18826236pgc.309.1510058442388; Tue, 07 Nov 2017 04:40:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510058442; cv=none; d=google.com; s=arc-20160816; b=X9yghzeIln8Mio2r6J8UmGZv0hAt0rG5anYz8y/90ddWnIDFCFPTd1BCJHibWv9MsC 3XMOHmYJcE9fBpegko7w+BwhkkXchBlFBhbmYOaFsT8ewmC+bgeZfert+yV0/ef7x15J pkGlKBPNTC79buxQ3FR1piN9nk8QkBohem1nXrufoaHLsndC59bzFzRq2MbwJAWrJx8y HoJjwuQjMAG9Nnfey8EaJeZIgN7SxxYjD0mbfF4KOzj2RxL7A0jHdZit+N78Ue1xGLj6 c8eGGPTDQUYOnprZo12QkE6QF7msnK9vHAeF6ExgbeGmYSdMArec6HAm+P6Mg53tKQul +rGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=YUZzCyCsrKF+sdZLEoYrSmp1YUg6m5fOBB9oQqHOtuU=; b=Q359Cy0FusPy7vMCM2zSkUqj5b5O+sw9n12fJ7KsAysAFRU9RZwS6soCfz2/wDDpUc KeBNbijDLxVDYsATXvoP7fLg0odmJ5hYWeYZICJW31VUrZ/NNj+ybjpRLIcVm4uPuQk/ cpZJ6YJcpo0qGRR9ZOXTNSVHADnu7aesUxZqP7s9oJRwoO1w2t3PAGWydgsww3jPP3Uk sjveYDFlBv7pJSTDmF941mxADejeYAA1sOZSb2XE4SFV1ipAwIw7x9r9H+3p6sPMBq9g /+8etWH+FTfPc6/Ak0/IPBbUMUhUfIqZlcTHXqou9K6uC2VXebFp/3kupTIvY81P956X 0RUg== 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 k69si1032953pgd.749.2017.11.07.04.40.29; Tue, 07 Nov 2017 04:40:42 -0800 (PST) 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 S1757461AbdKGKu5 convert rfc822-to-8bit (ORCPT + 91 others); Tue, 7 Nov 2017 05:50:57 -0500 Received: from lhrrgout.huawei.com ([194.213.3.17]:39789 "EHLO lhrrgout.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753859AbdKGKuy (ORCPT ); Tue, 7 Nov 2017 05:50:54 -0500 Received: from 172.18.7.190 (EHLO lhreml708-cah.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DZI58438; Tue, 07 Nov 2017 10:50:46 +0000 (GMT) Received: from FRAEML703-CAH.china.huawei.com (10.206.14.34) by lhreml708-cah.china.huawei.com (10.201.108.49) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 7 Nov 2017 10:50:46 +0000 Received: from FRAEML521-MBX.china.huawei.com ([169.254.1.209]) by fraeml703-cah.china.huawei.com ([10.206.14.34]) with mapi id 14.03.0361.001; Tue, 7 Nov 2017 11:50:36 +0100 From: Gabriele Paoloni To: Bjorn Helgaas CC: "catalin.marinas@arm.com" , "will.deacon@arm.com" , "robh+dt@kernel.org" , "frowand.list@gmail.com" , "bhelgaas@google.com" , "rafael@kernel.org" , "arnd@arndb.de" , "linux-arm-kernel@lists.infradead.org" , "lorenzo.pieralisi@arm.com" , "mark.rutland@arm.com" , "brian.starkey@arm.com" , "olof@lixom.net" , "benh@kernel.crashing.org" , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , Linuxarm , "linux-pci@vger.kernel.org" , "minyard@acm.org" , John Garry , "xuwei (O)" Subject: RE: [PATCH v10 2/9] PCI: remove unused __weak attribute in pci_register_io_range() Thread-Topic: [PATCH v10 2/9] PCI: remove unused __weak attribute in pci_register_io_range() Thread-Index: AQHTTz5rgcnJKfWAgk2VWVFdEupcCaMIDgCAgAC/2rA= Date: Tue, 7 Nov 2017 10:50:35 +0000 Message-ID: References: <1509120687-7352-1-git-send-email-gabriele.paoloni@huawei.com> <1509120687-7352-3-git-send-email-gabriele.paoloni@huawei.com> <20171107002325.GC9538@bhelgaas-glaptop.roam.corp.google.com> In-Reply-To: <20171107002325.GC9538@bhelgaas-glaptop.roam.corp.google.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.202.226.120] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090205.5A019007.0148,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=169.254.1.209, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 49e7a435c70d82618b553118f786b49b Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Bjorn Helgaas [mailto:helgaas@kernel.org] > Sent: 07 November 2017 00:23 > To: Gabriele Paoloni > Cc: catalin.marinas@arm.com; will.deacon@arm.com; robh+dt@kernel.org; > frowand.list@gmail.com; bhelgaas@google.com; rafael@kernel.org; > arnd@arndb.de; linux-arm-kernel@lists.infradead.org; > lorenzo.pieralisi@arm.com; mark.rutland@arm.com; brian.starkey@arm.com; > olof@lixom.net; benh@kernel.crashing.org; linux-kernel@vger.kernel.org; > linux-acpi@vger.kernel.org; Linuxarm; linux-pci@vger.kernel.org; > minyard@acm.org; John Garry; xuwei (O) > Subject: Re: [PATCH v10 2/9] PCI: remove unused __weak attribute in > pci_register_io_range() > > > PCI: remove unused __weak attribute in pci_register_io_range() > > Please capitalize to follow drivers/pci convention, e.g., > > PCI: Remove __weak attribute from pci_register_io_range() > > (Also do the same for the other PCI patches.) Agreed, many thanks Gab > > On Fri, Oct 27, 2017 at 05:11:20PM +0100, Gabriele Paoloni wrote: > > From: gabriele paoloni > > > > Currently pci_register_io_range() has only one definition; > > therefore there is no use of the __weak attribute. > > > > Signed-off-by: Gabriele Paoloni > > Acked-by: Bjorn Helgaas > > --- > > drivers/pci/pci.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c > > index af0cc34..eee967c 100644 > > --- a/drivers/pci/pci.c > > +++ b/drivers/pci/pci.c > > @@ -3270,7 +3270,7 @@ static DEFINE_SPINLOCK(io_range_lock); > > * Record the PCI IO range (expressed as CPU physical address + > size). > > * Return a negative value if an error has occured, zero otherwise > > */ > > -int __weak pci_register_io_range(phys_addr_t addr, resource_size_t > size) > > +int pci_register_io_range(phys_addr_t addr, resource_size_t size) > > { > > int err = 0; > > > > -- > > 2.7.4 > > > > > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-acpi" > in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html From 1583411010853594315@xxx Tue Nov 07 12:40:13 +0000 2017 X-GM-THRID: 1582428089446586560 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread