Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3582967imm; Mon, 18 Jun 2018 00:04:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLAt2LzjwwHhGeYFQfG40tQN0R0CpIJiURg7RSatu7LqScPGXIXYsFGtZz+1D33zCUG86dF X-Received: by 2002:a62:a8e:: with SMTP id 14-v6mr12195287pfk.57.1529305460058; Mon, 18 Jun 2018 00:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529305460; cv=none; d=google.com; s=arc-20160816; b=rnJAysFVqd8V2mEZGi24BEcpfpyEVi2h3dMFXvzTnNJ5N0AomtUicd3dR9PuaepF20 Fvk8C6dBO3Q6r+6vhoZS6h3Ttubs+XYuw+H1XWr/RG2Xv0cYn0ZTPEu5HPQy55ohax+T hMPnZr1xYVK4Zl3WtlLkZkWAbLFMF8hM6R1u0MDLoU19XZ63dbSAnPjCZGAewbQ1TFo5 a+H1w3h8gRBjjGKkz6GvnIk0pBhF5f2OiXR9AATNixlvcIy0KkuCTvrl70XJDDh8/Hod mTe8xghOy2nAvASxHk4TBjMlUoL8iCjFXP3yHobtzoboUmAHCzJlPl43p8CJVQugztZe Cr/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=UoqC6eT5vAFJ7Vsn4KNmHY5wfkgKd94JVxKMpzeZx6s=; b=wHvkjEB2GokjIxUf8jKafHtzA2b8Z+ToTda343sHjjDL+CK5X4JcrYXtrOhY/vYrPi 0bdYdQ6zg07B1BP89tmQPN+611NTXu/VkEIm58OrlbmJ26v9/u/VQhuv0wXjOOyt9DY5 eEN6k/ffio7c3ICTUBGrYhOurwnIRZrgsvGOXJVNW6niRrSkMa3ZjyG5aLTps+o4W1mg wzSM3usKV9Cz0JlwS+IpULz9GotTgBD5QLlv0enYSurGWMX3k7w2XvpPPJkg/uX514+B sHV8ZRmfpvJlU/1IMZ1jpZt0+M6kjZbET6wT+ziKBzB+OYysNBJ135VFjfSqv930woRg ofZQ== 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 c21-v6si11529451pgw.50.2018.06.18.00.04.06; Mon, 18 Jun 2018 00:04:20 -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 S1755178AbeFRHBz (ORCPT + 99 others); Mon, 18 Jun 2018 03:01:55 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:19607 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755019AbeFRHBx (ORCPT ); Mon, 18 Jun 2018 03:01:53 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 418MTP3Q1Yz9tvRl; Mon, 18 Jun 2018 09:01:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id alvT8eiQlHrx; Mon, 18 Jun 2018 09:01:45 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 418MTP2pC7z9tvRV; Mon, 18 Jun 2018 09:01:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id C191C8B80A; Mon, 18 Jun 2018 09:01:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id SBss0golivtv; Mon, 18 Jun 2018 09:01:51 +0200 (CEST) Received: from PO15451 (unknown [192.168.232.3]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 822898B74B; Mon, 18 Jun 2018 09:01:50 +0200 (CEST) Subject: Re: [PATCH 3/3] Revert "powerpc: fix build failure by disabling attribute-alias warning in pci_32" To: Paul Burton , linux-kbuild@vger.kernel.org Cc: Mauro Carvalho Chehab , linux-mips@linux-mips.org, Arnd Bergmann , Ingo Molnar , Matthew Wilcox , Thomas Gleixner , Douglas Anderson , Josh Poimboeuf , Andrew Morton , Matthias Kaehlcke , He Zhe , Benjamin Herrenschmidt , Michal Marek , Khem Raj , Al Viro , Stafford Horne , Gideon Israel Dsouza , Masahiro Yamada , Kees Cook , Michael Ellerman , Heiko Carstens , linux-kernel@vger.kernel.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org References: <20180616005323.7938-1-paul.burton@mips.com> <20180616005323.7938-4-paul.burton@mips.com> From: Christophe LEROY Message-ID: <14ef00cd-088c-d165-f4b2-b63eb2f3866b@c-s.fr> Date: Mon, 18 Jun 2018 09:01:50 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180616005323.7938-4-paul.burton@mips.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 16/06/2018 à 02:53, Paul Burton a écrit : > With SYSCALL_DEFINEx() disabling -Wattribute-alias generically, there's > no need to duplicate that for PowerPC's pciconfig_iobase syscall. > > This reverts commit 415520373975 ("powerpc: fix build failure by > disabling attribute-alias warning in pci_32"). > > Signed-off-by: Paul Burton > Cc: Michal Marek > Cc: Masahiro Yamada > Cc: Douglas Anderson > Cc: Al Viro > Cc: Heiko Carstens > Cc: Mauro Carvalho Chehab > Cc: Matthew Wilcox > Cc: Matthias Kaehlcke > Cc: Arnd Bergmann > Cc: Ingo Molnar > Cc: Josh Poimboeuf > Cc: Kees Cook > Cc: Andrew Morton > Cc: Thomas Gleixner > Cc: Gideon Israel Dsouza > Cc: Christophe Leroy > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > Cc: Stafford Horne > Cc: Khem Raj > Cc: He Zhe > Cc: linux-kbuild@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-mips@linux-mips.org > Cc: linuxppc-dev@lists.ozlabs.org Acked-by: Christophe Leroy > > --- > > arch/powerpc/kernel/pci_32.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c > index 4f861055a852..d63b488d34d7 100644 > --- a/arch/powerpc/kernel/pci_32.c > +++ b/arch/powerpc/kernel/pci_32.c > @@ -285,9 +285,6 @@ pci_bus_to_hose(int bus) > * Note that the returned IO or memory base is a physical address > */ > > -#pragma GCC diagnostic push > -#pragma GCC diagnostic ignored "-Wpragmas" > -#pragma GCC diagnostic ignored "-Wattribute-alias" > SYSCALL_DEFINE3(pciconfig_iobase, long, which, > unsigned long, bus, unsigned long, devfn) > { > @@ -313,4 +310,3 @@ SYSCALL_DEFINE3(pciconfig_iobase, long, which, > > return result; > } > -#pragma GCC diagnostic pop >