From: Dmitry Safonov <dima@arista.com>
To: Michael Ellerman <mpe@ellerman.id.au>, linux-kernel@vger.kernel.org
Cc: Dmitry Safonov <0x7f454c46@gmail.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Iurii Zaikin <yzaikin@google.com>, Jiri Slaby <jslaby@suse.com>,
Joe Perches <joe@perches.com>,
Randy Dunlap <rdunlap@infradead.org>,
Vasiliy Khoruzhick <vasilykh@arista.com>,
linux-serial@vger.kernel.org,
Luis Chamberlain <mcgrof@kernel.org>,
Kees Cook <keescook@chromium.org>,
linux-fsdevel@vger.kernel.org
Subject: Re: [PATCHv3 1/2] sysctl/sysrq: Remove __sysrq_enabled copy
Date: Wed, 1 Apr 2020 15:41:29 +0100 [thread overview]
Message-ID: <daf484e9-7f3d-9c76-d4c4-a054dcf236c1@arista.com> (raw)
In-Reply-To: <87tv23tmy1.fsf@mpe.ellerman.id.au>
Hi Michael,
On 4/1/20 1:22 PM, Michael Ellerman wrote:
[..]
>>
>> +/**
>> + * sysrq_mask - Getter for sysrq_enabled mask.
>> + *
>> + * Return: 1 if sysrq is always enabled, enabled sysrq_key_op mask otherwise.
>> + */
>> +int sysrq_mask(void)
>> +{
>> + if (sysrq_always_enabled)
>> + return 1;
>> + return sysrq_enabled;
>> +}
>
> This seems to have broken several configs, when serial_core is modular, with:
>
> ERROR: modpost: "sysrq_mask" [drivers/tty/serial/serial_core.ko] undefined!
>
> See:
>
> http://kisskb.ellerman.id.au/kisskb/buildresult/14169386/
>
> It's also being reported by the kernelci bot:
>
> https://lore.kernel.org/linux-next/5e677bd0.1c69fb81.c43fe.7f7d@mx.google.com/
Thanks for reporting this,
I've reproduced it and sent a fix:
https://lkml.kernel.org/r/20200401143904.423450-1-dima@arista.com
Thanks,
Dmitry
next prev parent reply other threads:[~2020-04-01 14:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-02 17:51 [PATCHv3 0/2] serial/sysrq: Add MAGIC_SYSRQ_SERIAL_SEQUENCE Dmitry Safonov
2020-03-02 17:51 ` [PATCHv3 1/2] sysctl/sysrq: Remove __sysrq_enabled copy Dmitry Safonov
2020-04-01 12:22 ` Michael Ellerman
2020-04-01 14:41 ` Dmitry Safonov [this message]
2020-03-02 17:51 ` [PATCHv3 2/2] serial/sysrq: Add MAGIC_SYSRQ_SERIAL_SEQUENCE Dmitry Safonov
2020-03-03 4:31 ` kbuild test robot
2020-03-03 18:06 ` Dmitry Safonov
2020-03-06 12:55 ` Greg Kroah-Hartman
2020-03-06 14:50 ` Dmitry Safonov
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=daf484e9-7f3d-9c76-d4c4-a054dcf236c1@arista.com \
--to=dima@arista.com \
--cc=0x7f454c46@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=joe@perches.com \
--cc=jslaby@suse.com \
--cc=keescook@chromium.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=mcgrof@kernel.org \
--cc=mpe@ellerman.id.au \
--cc=rdunlap@infradead.org \
--cc=vasilykh@arista.com \
--cc=yzaikin@google.com \
/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
all inboxes | Powered by JetHome®