linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tty/sysrq: Export sysrq_mask()
@ 2020-04-01 14:39 Dmitry Safonov
  2020-04-01 14:46 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Safonov @ 2020-04-01 14:39 UTC (permalink / raw)
  To: linux-kernel, Greg Kroah-Hartman
  Cc: Dmitry Safonov, Dmitry Safonov, kernelci.org bot,
	Michael Ellerman, Jiri Slaby

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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] tty/sysrq: Export sysrq_mask()
  2020-04-01 14:39 [PATCH] tty/sysrq: Export sysrq_mask() Dmitry Safonov
@ 2020-04-01 14:46 ` Greg Kroah-Hartman
  2020-04-01 14:49   ` Dmitry Safonov
  0 siblings, 1 reply; 7+ messages in thread
From: Greg Kroah-Hartman @ 2020-04-01 14:46 UTC (permalink / raw)
  To: Dmitry Safonov
  Cc: linux-kernel, Dmitry Safonov, kernelci.org bot, Michael Ellerman,
	Jiri Slaby

On Wed, Apr 01, 2020 at 03:39:04PM +0100, Dmitry Safonov wrote:
> 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(+)

Is this a new problem?  What commit does this fix?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] tty/sysrq: Export sysrq_mask()
  2020-04-01 14:46 ` Greg Kroah-Hartman
@ 2020-04-01 14:49   ` Dmitry Safonov
  2020-04-01 15:12     ` Greg Kroah-Hartman
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Safonov @ 2020-04-01 14:49 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: linux-kernel, Dmitry Safonov, kernelci.org bot, Michael Ellerman,
	Jiri Slaby

On 4/1/20 3:46 PM, Greg Kroah-Hartman wrote:
> On Wed, Apr 01, 2020 at 03:39:04PM +0100, Dmitry Safonov wrote:
>> 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(+)
> 
> Is this a new problem?  What commit does this fix?

Right, sorry I've managed to forget adding the tag:

Fixes: eaee41727e6d ("sysctl/sysrq: Remove __sysrq_enabled copy")

Maybe also:

Link:
https://lore.kernel.org/linux-fsdevel/87tv23tmy1.fsf@mpe.ellerman.id.au/

Thanks,
          Dmitry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] tty/sysrq: Export sysrq_mask()
  2020-04-01 14:49   ` Dmitry Safonov
@ 2020-04-01 15:12     ` Greg Kroah-Hartman
  2020-04-02  1:45       ` Michael Ellerman
  0 siblings, 1 reply; 7+ messages in thread
From: Greg Kroah-Hartman @ 2020-04-01 15:12 UTC (permalink / raw)
  To: Dmitry Safonov
  Cc: linux-kernel, Dmitry Safonov, kernelci.org bot, Michael Ellerman,
	Jiri Slaby

On Wed, Apr 01, 2020 at 03:49:56PM +0100, Dmitry Safonov wrote:
> On 4/1/20 3:46 PM, Greg Kroah-Hartman wrote:
> > On Wed, Apr 01, 2020 at 03:39:04PM +0100, Dmitry Safonov wrote:
> >> 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(+)
> > 
> > Is this a new problem?  What commit does this fix?
> 
> Right, sorry I've managed to forget adding the tag:
> 
> Fixes: eaee41727e6d ("sysctl/sysrq: Remove __sysrq_enabled copy")
> 
> Maybe also:
> 
> Link:
> https://lore.kernel.org/linux-fsdevel/87tv23tmy1.fsf@mpe.ellerman.id.au/

Thanks, that works.  WIll queue this up after -rc1 is out.

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] tty/sysrq: Export sysrq_mask()
  2020-04-01 15:12     ` Greg Kroah-Hartman
@ 2020-04-02  1:45       ` Michael Ellerman
  2020-04-03 21:53         ` Dave Airlie
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Ellerman @ 2020-04-02  1:45 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Dmitry Safonov
  Cc: linux-kernel, Dmitry Safonov, kernelci.org bot, Jiri Slaby

Greg Kroah-Hartman <gregkh@linuxfoundation.org> writes:
> On Wed, Apr 01, 2020 at 03:49:56PM +0100, Dmitry Safonov wrote:
>> On 4/1/20 3:46 PM, Greg Kroah-Hartman wrote:
>> > On Wed, Apr 01, 2020 at 03:39:04PM +0100, Dmitry Safonov wrote:
>> >> 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(+)
>> > 
>> > Is this a new problem?  What commit does this fix?
>> 
>> Right, sorry I've managed to forget adding the tag:
>> 
>> Fixes: eaee41727e6d ("sysctl/sysrq: Remove __sysrq_enabled copy")
>> 
>> Maybe also:
>> 
>> Link:
>> https://lore.kernel.org/linux-fsdevel/87tv23tmy1.fsf@mpe.ellerman.id.au/
>
> Thanks, that works.  WIll queue this up after -rc1 is out.

Why wait until after rc1?

It's a build break for a bunch of folks and the fix is obviously correct
(famous last words).

cheers

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] tty/sysrq: Export sysrq_mask()
  2020-04-02  1:45       ` Michael Ellerman
@ 2020-04-03 21:53         ` Dave Airlie
  2020-04-20 17:34           ` Greg Kroah-Hartman
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Airlie @ 2020-04-03 21:53 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: Greg Kroah-Hartman, Dmitry Safonov, LKML, Dmitry Safonov,
	kernelci.org bot, Jiri Slaby

On Thu, 2 Apr 2020 at 11:46, Michael Ellerman <mpe@ellerman.id.au> wrote:
>
> Greg Kroah-Hartman <gregkh@linuxfoundation.org> writes:
> > On Wed, Apr 01, 2020 at 03:49:56PM +0100, Dmitry Safonov wrote:
> >> On 4/1/20 3:46 PM, Greg Kroah-Hartman wrote:
> >> > On Wed, Apr 01, 2020 at 03:39:04PM +0100, Dmitry Safonov wrote:
> >> >> 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(+)
> >> >
> >> > Is this a new problem?  What commit does this fix?
> >>
> >> Right, sorry I've managed to forget adding the tag:
> >>
> >> Fixes: eaee41727e6d ("sysctl/sysrq: Remove __sysrq_enabled copy")
> >>
> >> Maybe also:
> >>
> >> Link:
> >> https://lore.kernel.org/linux-fsdevel/87tv23tmy1.fsf@mpe.ellerman.id.au/
> >
> > Thanks, that works.  WIll queue this up after -rc1 is out.
>
> Why wait until after rc1?
>
> It's a build break for a bunch of folks and the fix is obviously correct
> (famous last words).

definitely seems like something that should be fixed prior to rc1,
s390 builds in fedora are hitting it.

Dave.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] tty/sysrq: Export sysrq_mask()
  2020-04-03 21:53         ` Dave Airlie
@ 2020-04-20 17:34           ` Greg Kroah-Hartman
  0 siblings, 0 replies; 7+ messages in thread
From: Greg Kroah-Hartman @ 2020-04-20 17:34 UTC (permalink / raw)
  To: Dave Airlie
  Cc: Michael Ellerman, Dmitry Safonov, LKML, Dmitry Safonov,
	kernelci.org bot, Jiri Slaby

On Sat, Apr 04, 2020 at 07:53:10AM +1000, Dave Airlie wrote:
> On Thu, 2 Apr 2020 at 11:46, Michael Ellerman <mpe@ellerman.id.au> wrote:
> >
> > Greg Kroah-Hartman <gregkh@linuxfoundation.org> writes:
> > > On Wed, Apr 01, 2020 at 03:49:56PM +0100, Dmitry Safonov wrote:
> > >> On 4/1/20 3:46 PM, Greg Kroah-Hartman wrote:
> > >> > On Wed, Apr 01, 2020 at 03:39:04PM +0100, Dmitry Safonov wrote:
> > >> >> 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(+)
> > >> >
> > >> > Is this a new problem?  What commit does this fix?
> > >>
> > >> Right, sorry I've managed to forget adding the tag:
> > >>
> > >> Fixes: eaee41727e6d ("sysctl/sysrq: Remove __sysrq_enabled copy")
> > >>
> > >> Maybe also:
> > >>
> > >> Link:
> > >> https://lore.kernel.org/linux-fsdevel/87tv23tmy1.fsf@mpe.ellerman.id.au/
> > >
> > > Thanks, that works.  WIll queue this up after -rc1 is out.
> >
> > Why wait until after rc1?
> >
> > It's a build break for a bunch of folks and the fix is obviously correct
> > (famous last words).
> 
> definitely seems like something that should be fixed prior to rc1,
> s390 builds in fedora are hitting it.

Ugh, I missed this, I'll go queue this up now, sorry for the delay...

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-04-20 17:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 14:39 [PATCH] tty/sysrq: Export sysrq_mask() Dmitry Safonov
2020-04-01 14:46 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).