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 <paul.bur...@mips.com> Cc: Michal Marek <michal.l...@markovi.net> Cc: Masahiro Yamada <yamada.masah...@socionext.com> Cc: Douglas Anderson <diand...@chromium.org> Cc: Al Viro <v...@zeniv.linux.org.uk> Cc: Heiko Carstens <heiko.carst...@de.ibm.com> Cc: Mauro Carvalho Chehab <mche...@kernel.org> Cc: Matthew Wilcox <matt...@wil.cx> Cc: Matthias Kaehlcke <m...@chromium.org> Cc: Arnd Bergmann <a...@arndb.de> Cc: Ingo Molnar <mi...@kernel.org> Cc: Josh Poimboeuf <jpoim...@redhat.com> Cc: Kees Cook <keesc...@chromium.org> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Gideon Israel Dsouza <gidisr...@gmail.com> Cc: Christophe Leroy <christophe.le...@c-s.fr> Cc: Benjamin Herrenschmidt <b...@kernel.crashing.org> Cc: Paul Mackerras <pau...@samba.org> Cc: Michael Ellerman <m...@ellerman.id.au> Cc: Stafford Horne <sho...@gmail.com> Cc: Khem Raj <raj.k...@gmail.com> Cc: He Zhe <zhe...@windriver.com> Cc: linux-kbu...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: linux-m...@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