summaryrefslogtreecommitdiff
path: root/fs/proc
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2022-09-24 03:04:38 +0300
committerPetr Mladek <pmladek@suse.com>2022-09-29 16:20:29 +0300
commite3f12f0602833c88ad2cbe3aff397acd0cfd2695 (patch)
tree94f44b174761edb6a5f006da12c4a161b73956e0 /fs/proc
parentc60ba2d34608dc6e224440267ed392adf65e05f2 (diff)
downloadlinux-e3f12f0602833c88ad2cbe3aff397acd0cfd2695.tar.xz
printk: Declare log_wait properly
kernel/printk/printk.c:365:1: warning: symbol 'log_wait' was not declared. Should it be static? Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Reviewed-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20220924000454.3319186-3-john.ogness@linutronix.de
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/kmsg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/proc/kmsg.c b/fs/proc/kmsg.c
index b38ad552887f..9d6950ac10fe 100644
--- a/fs/proc/kmsg.c
+++ b/fs/proc/kmsg.c
@@ -18,8 +18,6 @@
#include <linux/uaccess.h>
#include <asm/io.h>
-extern wait_queue_head_t log_wait;
-
static int kmsg_open(struct inode * inode, struct file * file)
{
return do_syslog(SYSLOG_ACTION_OPEN, NULL, 0, SYSLOG_FROM_PROC);