Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1434196imm; Fri, 15 Jun 2018 17:57:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKAKmc3uIno8DtMTokWIcal+aD2DBWP8rhgRUC9lcSylBqPSGibEJJElrttDhtSbZITN7HT X-Received: by 2002:a62:f0d:: with SMTP id x13-v6mr4299563pfi.100.1529110628223; Fri, 15 Jun 2018 17:57:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529110628; cv=none; d=google.com; s=arc-20160816; b=YSwViLk5aYpO1JyN7nIGugGHL/cQG+plBt3/v3W51NWFt/UbS7tXN1vQZFp88WNwuL 7A12JVrom/O1wOWb7tZj3zN80tuUW2MSNtZiSuFjItXZjTtHLGQ+kEFS1Qem7Ahxw/hM 5LoPSvkb4ZOjexb7Q/B8S0Z47l9YSpFGKcNkYMjQKiBX/MbCTyhh0WiLwcxltR8rXQ+M nfQqSSqPsgn+QeVT23w0MHJ1Bnu29H36mprOSjci6cKi6bPWUOBRYVbKqnGj9ysB+ueI ile3vPZnYiSFqmVPO/AFu2NEVFWUqJLyK+8e3/r07/oCwnZSxPBEnZLGY9lrKdeTbWfp oLmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=nH7NsXTlmpT6sjJ0jbNOQ+0essFNz6v3K81sXjeoz0M=; b=OUTtY1jKAl07owoy/T1VoULdXevRgSBkwn2x85RTaqom4S7jz7M3wEWopqrZMCo7rx l68sI7qrFHVjujnTczKV0K08FVeoJa7pNrQkT1gZ61A9qQJnMp0ne0NcW0GCEjo/gXuc 1Max96HBJWtXsN4V8FRvVIAqVsPZ9k6YGXMCXJb9cQEMbWz6Rqw2heocbAq3cGUxKSDg HfaBeqAEdxs/rHvPK0qVObzAP+GGwMnjJC2bMAh2SPHrzieAgq3Qwfw3BHcQmtYGZuxU 1utftnkZLjRhhnKU6UVtxPFPS2UqTe7Mxtr/QzDL6zqgEuFUq381hr81NnqLH8sRUTGp hqqA== 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 a12-v6si10133935plt.474.2018.06.15.17.56.53; Fri, 15 Jun 2018 17:57:08 -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 S936490AbeFPA42 (ORCPT + 99 others); Fri, 15 Jun 2018 20:56:28 -0400 Received: from 9pmail.ess.barracuda.com ([64.235.150.224]:55878 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936521AbeFPA41 (ORCPT ); Fri, 15 Jun 2018 20:56:27 -0400 Received: from mipsdag02.mipstec.com (mail2.mips.com [12.201.5.32]) by mx4.ess.sfj.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=NO); Sat, 16 Jun 2018 00:54:49 +0000 Received: from mipsdag02.mipstec.com (10.20.40.47) by mipsdag02.mipstec.com (10.20.40.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1415.2; Fri, 15 Jun 2018 17:54:00 -0700 Received: from pburton-laptop.mipstec.com (10.20.2.29) by mipsdag02.mipstec.com (10.20.40.47) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Fri, 15 Jun 2018 17:54:00 -0700 From: Paul Burton To: CC: Mauro Carvalho Chehab , , Arnd Bergmann , Ingo Molnar , Matthew Wilcox , Thomas Gleixner , Douglas Anderson , Josh Poimboeuf , Andrew Morton , Matthias Kaehlcke , He Zhe , Benjamin Herrenschmidt , Michal Marek , Khem Raj , Christophe Leroy , Al Viro , Stafford Horne , Gideon Israel Dsouza , Masahiro Yamada , Kees Cook , Michael Ellerman , Heiko Carstens , , Paul Mackerras , , Paul Burton Subject: [PATCH 3/3] Revert "powerpc: fix build failure by disabling attribute-alias warning in pci_32" Date: Fri, 15 Jun 2018 17:53:22 -0700 Message-ID: <20180616005323.7938-4-paul.burton@mips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180616005323.7938-1-paul.burton@mips.com> References: <20180616005323.7938-1-paul.burton@mips.com> MIME-Version: 1.0 Content-Type: text/plain X-BESS-ID: 1529110489-298555-4162-17928-1 X-BESS-VER: 2018.7-r1806151722 X-BESS-Apparent-Source-IP: 12.201.5.32 X-BESS-Envelope-From: Paul.Burton@mips.com X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.194099 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-Orig-Rcpt: linux-kernel@vger.kernel.org,heiko.carstens@de.ibm.com,mpe@ellerman.id.au,keescook@chromium.org,yamada.masahiro@socionext.com,gidisrael@gmail.com,shorne@gmail.com,viro@zeniv.linux.org.uk,christophe.leroy@c-s.fr,raj.khem@gmail.com,michal.lkml@markovi.net,zhe.he@windriver.com,mka@chromium.org,akpm@linux-foundation.org,jpoimboe@redhat.com,dianders@chromium.org,tglx@linutronix.de,matthew@wil.cx,arnd@arndb.de,linux-mips@linux-mips.org,benh@kernel.crashing.org X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 2.17.1