From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751843AbeBYRWt (ORCPT ); Sun, 25 Feb 2018 12:22:49 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:34537 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751758AbeBYRWr (ORCPT ); Sun, 25 Feb 2018 12:22:47 -0500 X-Google-Smtp-Source: AH8x225Rk/fTGRqdj4GadXOT7IZ4MIqp41gjEbG2jKv83rDE6DCjGL3jmMd3hU89WjTYoSo1ZhVtyA== From: Mathieu Malaterre To: Michael Ellerman Cc: Benjamin Herrenschmidt , Paul Mackerras , Jiri Slaby , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Mathieu Malaterre Subject: [PATCH 00/21] powerpc/gamecube: make W=1 compilation errors free Date: Sun, 25 Feb 2018 18:22:15 +0100 Message-Id: <20180225172236.29650-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I started working on warnings treated as error on ppc32. As a first step, here is a set of patches to make gamecube error free when using W=1: $ make ARCH=powerpc gamecube_defconfig $ make -j8 ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- W=1 Using: $ powerpc-linux-gnu-gcc --version powerpc-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516 Mathieu Malaterre (21): powerpc: Remove warning on array size when empty powerpc: Move the inline keyword at the beginning of function declaration powerpc: Mark the variable earlycon_acpi_spcr_enable maybe_unused powerpc: Mark both tmp variables as unused powerpc: Avoid comparison of unsigned long >= 0 in pfn_valid powerpc: Avoid comparison of unsigned long >= 0 in __access_ok powerpc: Make functions flipper_pic_init & ug_udbg_putc static powerpc: Make function __giveup_fpu static powerpc: Make function save_all static powerpc: Add missing prototype for slb_miss_bad_addr powerpc: Add missing prototype for hdec_interrupt powerpc: Add missing prototype for time_init powerpc: Add missing prototype for arch_dup_task_struct powerpc: Add missing prototype for arch_irq_work_raise powerpc: Add missing prototype for MMU_setup powerpc: Add missing prototype for init_IRQ powerpc: Add missing prototype for sys_debug_setcontext powerpc: Add missing prototypes for sys_sigreturn & sys_rt_sigreturn powerpc: Add missing prototypes for hw_breakpoint_handler & arch_unregister_hw_breakpoint powerpc: Add missing prototypes for ppc_select & ppc_fadvise64_64 powerpc: Add missing prototypes in setup_32.c arch/powerpc/include/asm/asm-prototypes.h | 9 +++++++++ arch/powerpc/include/asm/hw_breakpoint.h | 2 ++ arch/powerpc/include/asm/irq.h | 1 + arch/powerpc/include/asm/irq_work.h | 1 + arch/powerpc/include/asm/page.h | 3 ++- arch/powerpc/include/asm/thread_info.h | 1 + arch/powerpc/include/asm/time.h | 2 ++ arch/powerpc/include/asm/uaccess.h | 2 +- arch/powerpc/kernel/process.c | 4 ++-- arch/powerpc/kernel/prom.c | 3 +-- arch/powerpc/kernel/setup.h | 5 +++++ arch/powerpc/kernel/setup_32.c | 2 ++ arch/powerpc/kernel/signal.h | 5 +++++ arch/powerpc/kernel/signal_32.c | 4 ++-- arch/powerpc/lib/sstep.c | 4 ++-- arch/powerpc/mm/init_32.c | 1 + arch/powerpc/platforms/embedded6xx/flipper-pic.c | 2 +- arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c | 2 +- include/linux/serial_core.h | 1 + 19 files changed, 42 insertions(+), 12 deletions(-) -- 2.11.0