From: Dmitry Safonov <dima@arista.com>
To: linux-kernel@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Dmitry Safonov <0x7f454c46@gmail.com>,
Dmitry Safonov <dima@arista.com>,
"kernelci.org bot" <bot@kernelci.org>,
Michael Ellerman <mpe@ellerman.id.au>,
Jiri Slaby <jslaby@suse.com>
Subject: [PATCH] tty/sysrq: Export sysrq_mask()
Date: Wed, 1 Apr 2020 15:39:04 +0100 [thread overview]
Message-ID: <20200401143904.423450-1-dima@arista.com> (raw)
Build fix for serial_core being module:
ERROR: modpost: "sysrq_mask" [drivers/tty/serial/serial_core.ko] undefined!
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Reported-by: "kernelci.org bot" <bot@kernelci.org>
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Dmitry Safonov <dima@arista.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
next reply other threads:[~2020-04-01 14:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-01 14:39 Dmitry Safonov [this message]
2020-04-01 14:46 ` [PATCH] tty/sysrq: Export sysrq_mask() Greg Kroah-Hartman
2020-04-01 14:49 ` Dmitry Safonov
2020-04-01 15:12 ` Greg Kroah-Hartman
2020-04-02 1:45 ` Michael Ellerman
2020-04-03 21:53 ` Dave Airlie
2020-04-20 17:34 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200401143904.423450-1-dima@arista.com \
--to=dima@arista.com \
--cc=0x7f454c46@gmail.com \
--cc=bot@kernelci.org \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpe@ellerman.id.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox