[RFC PATCH deller-parisc] hpmc_addr can be static

From: kernel test robot
Date: Mon Nov 08 2021 - 05:36:25 EST


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@xxxxxxxxx>
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
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 */