[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200401143904.423450-1-dima@arista.com>
Date: Wed, 1 Apr 2020 15:39:04 +0100
From: Dmitry Safonov <dima@...sta.com>
To: linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Dmitry Safonov <0x7f454c46@...il.com>,
Dmitry Safonov <dima@...sta.com>,
"kernelci.org bot" <bot@...nelci.org>,
Michael Ellerman <mpe@...erman.id.au>,
Jiri Slaby <jslaby@...e.com>
Subject: [PATCH] tty/sysrq: Export sysrq_mask()
Build fix for serial_core being module:
ERROR: modpost: "sysrq_mask" [drivers/tty/serial/serial_core.ko] undefined!
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Jiri Slaby <jslaby@...e.com>
Reported-by: "kernelci.org bot" <bot@...nelci.org>
Reported-by: Michael Ellerman <mpe@...erman.id.au>
Signed-off-by: Dmitry Safonov <dima@...sta.com>
---
drivers/tty/sysrq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c
index 5e0d0813da55..a0760bcd7a97 100644
--- a/drivers/tty/sysrq.c
+++ b/drivers/tty/sysrq.c
@@ -74,6 +74,7 @@ int sysrq_mask(void)
return 1;
return sysrq_enabled;
}
+EXPORT_SYMBOL_GPL(sysrq_mask);
/*
* A value of 1 means 'all', other nonzero values are an op mask:
--
2.25.1
Powered by blists - more mailing lists