[PATCH 01/11] tty/sysrq: alpha: export and use __sysrq_get_key_op()

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri May 15 12:54:17 UTC 2020


On Wed, May 13, 2020 at 10:43:41PM +0100, Emil Velikov wrote:
> Export a pointer to the sysrq_get_key_op(). This way we can cleanly
> unregister it, instead of the current solutions of modifuing it inplace.
> 
> Since __sysrq_get_key_op() is no longer used externally, let's make it
> a static function.
> 
> This patch will allow us to limit access to each and every sysrq op and
> constify the sysrq handling.
> 
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: Jiri Slaby <jslaby at suse.com>
> Cc: linux-kernel at vger.kernel.org
> Cc: Richard Henderson <rth at twiddle.net>
> Cc: Ivan Kokshaysky <ink at jurassic.park.msu.ru>
> Cc: Matt Turner <mattst88 at gmail.com>
> Cc: linux-alpha at vger.kernel.org
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> Please keep me in the CC list, as I'm not subscribed to the list.
> 
> IMHO it would be better if this gets merged this via the tty tree.

All now taken, thanks!

greg k-h


More information about the dri-devel mailing list