Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: dwarf: Make dwarf_lookup_fde() static

arch/sh/kernel/dwarf.c:347:19: warning: no previous prototype for 'dwarf_lookup_fde' [-Wmissing-prototypes]

There are no users outside this file, so make it static.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/55e8261a354e8ec4d375754e404c6c1d303af715.1709326528.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

authored by

Geert Uytterhoeven and committed by
John Paul Adrian Glaubitz
106398fd cb1a55ec

+1 -1
+1 -1
arch/sh/kernel/dwarf.c
··· 344 344 * dwarf_lookup_fde - locate the FDE that covers pc 345 345 * @pc: the program counter 346 346 */ 347 - struct dwarf_fde *dwarf_lookup_fde(unsigned long pc) 347 + static struct dwarf_fde *dwarf_lookup_fde(unsigned long pc) 348 348 { 349 349 struct rb_node **rb_node = &fde_root.rb_node; 350 350 struct dwarf_fde *fde = NULL;