Skip to content

OpenRISC compiler warning fixes

Stafford Horne lkml openrisc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8openrisc: Add missing prototypes for assembly called fnctionsarch/openrisc/kernel/ptrace.c arch/openrisc/kernel/signal.c arch/openrisc/kernel/smp.c +3 more+24 -00 replies
2/8openrisc: Declare do_signal function as staticarch/openrisc/kernel/signal.c+1 -10 replies
3/8openrisc: Add prototype for show_registers to processor.harch/openrisc/include/asm/processor.h arch/openrisc/kernel/process.c arch/openrisc/kernel/traps.c+2 -20 replies
4/8openrisc: Add prototype for die to bug.harch/openrisc/include/asm/bug.h arch/openrisc/kernel/traps.c arch/openrisc/mm/fault.c+13 -20 replies
5/8openrisc: Include cpu.h and switch_to.h for prototypesarch/openrisc/kernel/process.c+2 -00 replies
6/8openriac: Remove unused nommu_dump_state functionarch/openrisc/kernel/traps.c+0 -750 replies
7/8openrisc: Remove unused tlb_init functionarch/openrisc/mm/init.c arch/openrisc/mm/tlb.c+0 -110 replies
8/8openrisc: Remove kernel-doc marker from ioremap commentarch/openrisc/mm/ioremap.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] OpenRISC compiler warning fixes

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/[email protected]/

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
Signature · 1 line
2.39.1