Re: [PATCH printk-rework 12/14] printk: kmsg_dump: remove _nolock() variants

Petr Mladek
2021-02-23T11:54:06Z

On Thu 2021-02-18 09:18:15, John Ogness wrote:
> kmsg_dump_rewind() and kmsg_dump_get_line() are lockless, so there is
> no need for _nolock() variants. Remove these functions and switch all
> callers of the _nolock() variants.
>
> The functions without _nolock() were chosen because they are already
> exported to kernel modules.
>
> Signed-off-by: John Ogness <john.ogness@linutronix.de>

Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr