[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211108103546.GA42682@0ee8734adabc>
Date: Mon, 8 Nov 2021 18:35:46 +0800
From: kernel test robot <lkp@...el.com>
To: Sven Schnelle <svens@...ckframe.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Helge Deller <deller@....de>
Subject: [RFC PATCH deller-parisc] hpmc_addr can be static
drivers/tty/sysrq.c:150:15: warning: symbol 'hpmc_addr' was not declared. Should it be static?
Fixes: c743202c8e5c ("hpmc trigger")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---
sysrq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c
index b8a982f12ba9f..c95b22fe3cd26 100644
--- a/drivers/tty/sysrq.c
+++ b/drivers/tty/sysrq.c
@@ -147,7 +147,7 @@ static const struct sysrq_key_op sysrq_unraw_op = {
#define sysrq_unraw_op (*(const struct sysrq_key_op *)NULL)
#endif /* CONFIG_VT */
-unsigned long *hpmc_addr;
+static unsigned long *hpmc_addr;
static void sysrq_handle_crash(int key)
{
/* release the RCU read lock before crashing */
Powered by blists - more mailing lists