public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/16] xtensa: fix W=1 build warnings
@ 2023-09-20  5:21 Randy Dunlap
  2023-09-20  5:21 ` [PATCH 01/16] xtensa: FSF: define XCHAL_HAVE_DIV32 Randy Dunlap
                   ` (16 more replies)
  0 siblings, 17 replies; 22+ messages in thread
From: Randy Dunlap @ 2023-09-20  5:21 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Chris Zankel, Max Filippov, Thomas Gleixner,
	Marc Zyngier

This series fixes all xtensa W=1 build warnings that I have seen
with the exception of some in arch/xtensa/boot/. [1]

These have been through defconfig, allnoconfig, tinyconfig, allyesconfig,
allmodconfig, and many randconfig builds.

 [PATCH 01/16] xtensa: FSF: define XCHAL_HAVE_DIV32
 [PATCH 02/16] xtensa: fault: include <asm/traps.h>
 [PATCH 03/16] xtensa: irq: include <asm/traps.h>
 [PATCH 04/16] xtensa: ptrace: add prototypes to <asm/ptrace.h>
 [PATCH 05/16] xtensa: processor.h: add init_arch() prototype
 [PATCH 06/16] xtensa: signal: include headers for function prototypes
 [PATCH 07/16] xtensa: stacktrace: include <asm/ftrace.h> for prototype
 [PATCH 08/16] xtensa: traps: add <linux/cpu.h> for function prototype
 [PATCH 09/16] irqchip: irq-xtensa-mx: include header for missing prototype
 [PATCH 10/16] xtensa: smp: add headers for missing function prototypes
 [PATCH 11/16] xtensa: hw_breakpoing: include header for missing prototype
 [PATCH 12/16] xtensa: tlb: include <asm/tlb.h> for missing prototype
 [PATCH 13/16] xtensa: iss/network: make functions static
 [PATCH 14/16] xtensa: boot: don't add include-dirs
 [PATCH 15/16] xtensa: umulsidi3: fix conditional expression
 [PATCH 16/16] xtensa: boot/lib: add missing prototypes for functions

1:
arch/xtensa/boot/boot-elf/bootstrap.S:68: Warning: value 0x1a0003000 truncated to 0xa0003000

 arch/xtensa/boot/Makefile                       |    3 +--
 arch/xtensa/boot/lib/zmem.c                     |    4 ++++
 arch/xtensa/include/asm/hw_breakpoint.h         |    1 +
 arch/xtensa/include/asm/processor.h             |    5 +++++
 arch/xtensa/include/asm/ptrace.h                |    3 +++
 arch/xtensa/include/asm/smp.h                   |    1 +
 arch/xtensa/include/asm/tlb.h                   |    2 ++
 arch/xtensa/kernel/hw_breakpoint.c              |    1 +
 arch/xtensa/kernel/irq.c                        |    1 +
 arch/xtensa/kernel/ptrace.c                     |    1 -
 arch/xtensa/kernel/signal.c                     |    2 ++
 arch/xtensa/kernel/smp.c                        |    1 +
 arch/xtensa/kernel/stacktrace.c                 |    1 +
 arch/xtensa/kernel/traps.c                      |    1 +
 arch/xtensa/lib/umulsidi3.S                     |    4 +++-
 arch/xtensa/mm/fault.c                          |    1 +
 arch/xtensa/mm/tlb.c                            |    1 +
 arch/xtensa/platforms/iss/network.c             |    4 ++--
 arch/xtensa/variants/fsf/include/variant/core.h |    1 +
 drivers/irqchip/irq-xtensa-mx.c                 |    1 +
 20 files changed, 33 insertions(+), 6 deletions(-)

Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <maz@kernel.org>

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2023-09-20 12:11 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-20  5:21 [PATCH 00/16] xtensa: fix W=1 build warnings Randy Dunlap
2023-09-20  5:21 ` [PATCH 01/16] xtensa: FSF: define XCHAL_HAVE_DIV32 Randy Dunlap
2023-09-20 11:53   ` Max Filippov
2023-09-20  5:21 ` [PATCH 02/16] xtensa: fault: include <asm/traps.h> Randy Dunlap
2023-09-20  5:21 ` [PATCH 03/16] xtensa: irq: " Randy Dunlap
2023-09-20  5:21 ` [PATCH 04/16] xtensa: ptrace: add prototypes to <asm/ptrace.h> Randy Dunlap
2023-09-20  5:21 ` [PATCH 05/16] xtensa: processor.h: add init_arch() prototype Randy Dunlap
2023-09-20  5:21 ` [PATCH 06/16] xtensa: signal: include headers for function prototypes Randy Dunlap
2023-09-20  5:21 ` [PATCH 07/16] xtensa: stacktrace: include <asm/ftrace.h> for prototype Randy Dunlap
2023-09-20  5:21 ` [PATCH 08/16] xtensa: traps: add <linux/cpu.h> for function prototype Randy Dunlap
2023-09-20  5:21 ` [PATCH 09/16] irqchip: irq-xtensa-mx: include header for missing prototype Randy Dunlap
2023-09-20  9:51   ` Marc Zyngier
2023-09-20 10:53     ` Max Filippov
2023-09-20  5:21 ` [PATCH 10/16] xtensa: smp: add headers for missing function prototypes Randy Dunlap
2023-09-20  5:21 ` [PATCH 11/16] xtensa: hw_breakpoint: include header for missing prototype Randy Dunlap
2023-09-20  5:21 ` [PATCH 12/16] xtensa: tlb: include <asm/tlb.h> " Randy Dunlap
2023-09-20  5:21 ` [PATCH 13/16] xtensa: iss/network: make functions static Randy Dunlap
2023-09-20  5:21 ` [PATCH 14/16] xtensa: boot: don't add include-dirs Randy Dunlap
2023-09-20  5:21 ` [PATCH 15/16] xtensa: umulsidi3: fix conditional expression Randy Dunlap
2023-09-20  5:21 ` [PATCH 16/16] xtensa: boot/lib: add missing prototypes for functions Randy Dunlap
2023-09-20 11:54   ` Max Filippov
2023-09-20 12:11 ` [PATCH 00/16] xtensa: fix W=1 build warnings Max Filippov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox