diff options
author | Stafford Horne <shorne@gmail.com> | 2022-02-05 22:37:49 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2022-05-23 17:15:49 +0900 |
commit | f4b26b1a7b3e10b6e26078d80d035574b0975185 (patch) | |
tree | 61fef6a97621c5ea29c1e8a0f36783e5af5720c1 /fs/open.c | |
parent | fe47623a798b34ee38d02bfe4dbc529cccc78ad7 (diff) |
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>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions