mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/8] OpenRISC compiler warning fixes
@ 2023-08-21  7:19 Stafford Horne
  2023-08-21  7:20 ` [PATCH 1/8] openrisc: Add missing prototypes for assembly called fnctions Stafford Horne
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Stafford Horne @ 2023-08-21  7:19 UTC (permalink / raw)
  To: LKML; +Cc: Stafford Horne

This series fixes a few compiler warnings under the OpenRISC architcture
subtree when compiling with W=1.  I have split each warning by the type of fixes
that were needed for each.

Most of these were reported by Arnd in:

  https://lore.kernel.org/all/20230810141947.1236730-17-arnd@kernel.org/

After these fixes I don't have any warnings in architecture specific code.

Stafford Horne (8):
  openrisc: Add missing prototypes for assembly called fnctions
  openrisc: Declare do_signal function as static
  openrisc: Add prototype for show_registers to processor.h
  openrisc: Add prototype for die to bug.h
  openrisc: Include cpu.h and switch_to.h for prototypes
  openriac: Remove unused nommu_dump_state function
  openrisc: Remove unused tlb_init function
  openrisc: Remove kernel-doc marker from ioremap comment

 arch/openrisc/include/asm/bug.h       | 11 ++++
 arch/openrisc/include/asm/processor.h |  1 +
 arch/openrisc/kernel/process.c        |  4 +-
 arch/openrisc/kernel/ptrace.c         |  4 ++
 arch/openrisc/kernel/signal.c         |  7 ++-
 arch/openrisc/kernel/smp.c            |  2 +
 arch/openrisc/kernel/time.c           |  2 +
 arch/openrisc/kernel/traps.c          | 85 ++++-----------------------
 arch/openrisc/mm/fault.c              |  4 +-
 arch/openrisc/mm/init.c               |  2 -
 arch/openrisc/mm/ioremap.c            |  2 +-
 arch/openrisc/mm/tlb.c                |  9 ---
 12 files changed, 42 insertions(+), 91 deletions(-)
 create mode 100644 arch/openrisc/include/asm/bug.h

-- 
2.39.1


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

end of thread, other threads:[~2023-08-21  7:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-21  7:19 [PATCH 0/8] OpenRISC compiler warning fixes Stafford Horne
2023-08-21  7:20 ` [PATCH 1/8] openrisc: Add missing prototypes for assembly called fnctions Stafford Horne
2023-08-21  7:20 ` [PATCH 2/8] openrisc: Declare do_signal function as static Stafford Horne
2023-08-21  7:20 ` [PATCH 3/8] openrisc: Add prototype for show_registers to processor.h Stafford Horne
2023-08-21  7:20 ` [PATCH 4/8] openrisc: Add prototype for die to bug.h Stafford Horne
2023-08-21  7:20 ` [PATCH 5/8] openrisc: Include cpu.h and switch_to.h for prototypes Stafford Horne
2023-08-21  7:20 ` [PATCH 6/8] openriac: Remove unused nommu_dump_state function Stafford Horne
2023-08-21  7:20 ` [PATCH 7/8] openrisc: Remove unused tlb_init function Stafford Horne
2023-08-21  7:20 ` [PATCH 8/8] openrisc: Remove kernel-doc marker from ioremap comment Stafford Horne

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

all inboxes | Powered by JetHome®