summaryrefslogtreecommitdiffstats
path: root/kernel/panic.c
diff options
context:
space:
mode:
authorYue Hu <huyue2@yulong.com>2020-08-12 03:36:53 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-08-12 19:58:02 +0200
commit63037f74725ddd8a767ed2ad0369e60a3bf1f2ce (patch)
tree2fa56503ffbc4d749765e5a0be2155ac25dc1166 /kernel/panic.c
parentlib/Kconfig.debug: fix typo in the help text of CONFIG_PANIC_TIMEOUT (diff)
downloadlinux-63037f74725ddd8a767ed2ad0369e60a3bf1f2ce.tar.xz
linux-63037f74725ddd8a767ed2ad0369e60a3bf1f2ce.zip
panic: make print_oops_end_marker() static
Since print_oops_end_marker() is not used externally, also remove it in kernel.h at the same time. Signed-off-by: Yue Hu <huyue2@yulong.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Kees Cook <keescook@chromium.org> Link: http://lkml.kernel.org/r/20200724011516.12756-1-zbestahu@gmail.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/panic.c')
-rw-r--r--kernel/panic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/panic.c b/kernel/panic.c
index 93ba061d1c79..aef8872ba843 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -551,7 +551,7 @@ static int init_oops_id(void)
}
late_initcall(init_oops_id);
-void print_oops_end_marker(void)
+static void print_oops_end_marker(void)
{
init_oops_id();
pr_warn("---[ end trace %016llx ]---\n", (unsigned long long)oops_id);