[PATCH 0/7] MIPS: decstation_64_defconfig: Compile the kernel with warnings as errors

From: WangYuli
Date: Tue Feb 18 2025 - 07:52:38 EST


Patchset ("MIPS: dec: Only check -msym32 when need compiler") from list [1]
allows us to compile kernel image packages with decstation_64_defconfig.

However, compilation warnings remain during the build.

Address these warnings and enable CONFIG_WERROR for decstation_64_defconfig.

[1]. https://lore.kernel.org/all/8ABBF323414AEF93+20250217142541.48149-1-wangyuli@xxxxxxxxxxxxx/

WangYuli (7):
MIPS: dec: Declare which_prom() as static
MIPS: dec: Create reset.h
MIPS: cevt-ds1287: Add missing ds1287.h include
MIPS: ds1287: Match ds1287_set_base_clock() function types
MIPS: dec: Remove dec_irq_dispatch()
MIPS: decstation_64_defconfig: Update configs dependencies
MIPS: decstation_64_defconfig: Compile the kernel with warnings as
errors

arch/mips/configs/decstation_64_defconfig | 45 +++++++++--------------
arch/mips/dec/int-handler.S | 2 +-
arch/mips/dec/prom/init.c | 5 +--
arch/mips/dec/reset.c | 2 +
arch/mips/dec/setup.c | 15 +-------
arch/mips/include/asm/dec/reset.h | 17 +++++++++
arch/mips/include/asm/ds1287.h | 2 +-
arch/mips/kernel/cevt-ds1287.c | 1 +
8 files changed, 44 insertions(+), 45 deletions(-)
create mode 100644 arch/mips/include/asm/dec/reset.h

--
2.47.2