Re: [PATCH 2/4] kernel/panic: convert print_tainted() to use struct seq_buf internally
From: Greg KH
Date: Tue Jun 04 2024 - 11:42:17 EST
On Fri, May 31, 2024 at 12:04:55PM +0300, Jani Nikula wrote:
> Convert print_tainted() to use struct seq_buf internally in order to be
> more aware of the buffer constraints as well as make it easier to extend
> in follow-up work.
>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
> ---
> kernel/panic.c | 38 ++++++++++++++++++++++++--------------
> 1 file changed, 24 insertions(+), 14 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>