diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-09-11 10:01:32 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-09-21 22:08:18 +0200 |
commit | d976ae6ba04cdbe62a60fc6dc6f363da596d5622 (patch) | |
tree | 8d5e55eb819ce616ce6c62a16fe55a9687705926 | |
parent | d41afc398fbc9dfb8c40b951e97a7f0283346c6a (diff) | |
download | linux-d976ae6ba04cdbe62a60fc6dc6f363da596d5622.tar.bz2 |
MIPS: Make setup_elfcorehdr and setup_elfcorehdr_size static
This addresses the following sparse warning:
arch/mips/kernel/setup.c:446:33: warning: symbol 'setup_elfcorehdr_size'
was not declared. Should it be static?
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
-rw-r--r-- | arch/mips/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index bf5f5acab0a8..8589a34c28de 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -447,7 +447,7 @@ static int __init early_parse_memmap(char *p) early_param("memmap", early_parse_memmap); #ifdef CONFIG_PROC_VMCORE -unsigned long setup_elfcorehdr, setup_elfcorehdr_size; +static unsigned long setup_elfcorehdr, setup_elfcorehdr_size; static int __init early_parse_elfcorehdr(char *p) { struct memblock_region *mem; |