Skip to content

sh: Fix missing prototypes (part two)

Geert Uytterhoeven linux-sh lkml 1 version Applied

Status from this message: Applied to my sh-linux tree in the for-next branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7sh: cache: Move forward declarations to <asm/cacheflush.h>arch/sh/include/asm/cacheflush.h arch/sh/kernel/cpu/sh4a/setup-sh7723.c arch/sh/kernel/cpu/sh4a/setup-sh7724.c +3 more+17 -160 replies
2/7sh: traps: Make is_dsp_inst() staticarch/sh/kernel/traps_32.c+2 -20 replies
3/7sh: mach-highlander: Add missing #include <mach/highlander.h>arch/sh/boards/mach-highlander/pinmux-r7785rp.c+1 -00 replies
4/7sh: mach-sh03: Make sh03_rtc_settimeofday() staticarch/sh/boards/mach-sh03/rtc.c+1 -10 replies
5/7sh: sh7757lcr: Make init_sh7757lcr_IRQ() staticarch/sh/boards/board-sh7757lcr.c+1 -10 replies
6/7sh: sh7757: Add missing #include <asm/mmzone.h>arch/sh/kernel/cpu/sh4a/setup-sh7757.c+3 -00 replies
7/7sh: sh7785lcr: Make init_sh7785lcr_IRQ() staticarch/sh/boards/board-sh7785lcr.c+1 -10 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohn Paul Adrian Glaubitz
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] sh: Fix missing prototypes (part two)

Hi all,

This patch series fixes more "no previous prototype for <foo>" warnings when building a kernel for SuperH, and is a follow-up to [1].

This has been boot-tested on landisk and on qemu/rts7751r2d.

Thanks for your comments!

[1] "[PATCH 00/20] sh: Fix missing prototypes"

    https://lore.kernel.org/r/[email protected]>

Geert Uytterhoeven (7):
sh: cache: Move forward declarations to <asm/cacheflush.h>
sh: traps: Make is_dsp_inst() static
sh: mach-highlander: Add missing #include <mach/highlander.h>
sh: mach-sh03: Make sh03_rtc_settimeofday() static
sh: sh7757lcr: Make init_sh7757lcr_IRQ() static
sh: sh7757: Add missing #include <asm/mmzone.h>
sh: sh7785lcr: Make init_sh7785lcr_IRQ() static

 arch/sh/boards/board-sh7757lcr.c                |  2 +-
 arch/sh/boards/board-sh7785lcr.c                |  2 +-
 arch/sh/boards/mach-highlander/pinmux-r7785rp.c |  1 +
 arch/sh/boards/mach-sh03/rtc.c                  |  2 +-
 arch/sh/include/asm/cacheflush.h                | 12 ++++++++++++
 arch/sh/kernel/cpu/sh4a/setup-sh7723.c          |  3 +++
 arch/sh/kernel/cpu/sh4a/setup-sh7724.c          |  1 +
 arch/sh/kernel/cpu/sh4a/setup-sh7757.c          |  3 +++
 arch/sh/kernel/traps_32.c                       |  4 ++--
 arch/sh/mm/cache-sh4.c                          |  2 --
 arch/sh/mm/cache-shx3.c                         |  1 +
 arch/sh/mm/cache.c                              | 14 --------------
 12 files changed, 26 insertions(+), 21 deletions(-)
Signature · 12 lines
2.34.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds