linux/arch/openrisc
Stafford Horne f4b26b1a7b openrisc/traps: Declare file scope symbols as static
Sparse was reporting the following warnings:

    arch/openrisc/kernel/traps.c:37:5: warning: symbol 'kstack_depth_to_print' was not declared. Should it be static?
    arch/openrisc/kernel/traps.c:39:22: warning: symbol 'lwa_addr' was not declared. Should it be static?
    arch/openrisc/kernel/traps.c:41:6: warning: symbol 'print_trace' was not declared. Should it be static?

The function print_trace and local variables kstack_depth_to_print and
lwa_addr are not used outside of this file.  This patch marks them as
static.

Signed-off-by: Stafford Horne <shorne@gmail.com>
2022-05-23 17:15:49 +09:00
..
boot kbuild: do not quote string values in include/config/auto.conf 2022-01-08 18:03:57 +09:00
configs openrisc: Update litex defconfig to support glibc userland 2022-05-23 17:15:49 +09:00
include asm-generic updates for 5.18 2022-03-23 18:03:08 -07:00
kernel openrisc/traps: Declare file scope symbols as static 2022-05-23 17:15:49 +09:00
lib openrisc/boot: Remove unnecessary initialisation in memcpy(). 2022-01-30 17:44:34 +09:00
mm openrisc: remove bogus nops and shutdowns 2022-05-12 06:02:02 +09:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig openrisc: Add gcc machine instruction flag configuration 2022-05-23 17:15:49 +09:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile openrisc: Add gcc machine instruction flag configuration 2022-05-23 17:15:49 +09:00