Commit eebf3648 authored by YueHaibing's avatar YueHaibing Committed by Linus Torvalds

fs/proc/kcore.c: make kcore_modules static

Fix sparse warning:

  fs/proc/kcore.c:591:19: warning:
   symbol 'kcore_modules' was not declared. Should it be static?

Link: default avatarYueHaibing <>
Acked-by: default avatarMukesh Ojha <>
Cc: Alexey Dobriyan <>
Cc: Omar Sandoval <>
Cc: James Morse <>
Cc: Stephen Rothwell <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent b736523f
......@@ -615,7 +615,7 @@ static void __init proc_kcore_text_init(void)
* MODULES_VADDR has no intersection with VMALLOC_ADDR.
struct kcore_list kcore_modules;
static struct kcore_list kcore_modules;
static void __init add_modules_range(void)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment