Re: [PATCH 4/4] kernel/panic: add verbose logging of kernel taints in backtraces

From: Greg KH
Date: Tue Jun 04 2024 - 11:42:39 EST


On Fri, May 31, 2024 at 12:04:57PM +0300, Jani Nikula wrote:
> With nearly 20 taint flags and respective characters, it's getting a bit
> difficult to remember what each taint flag character means. Add verbose
> logging of the set taints in the format:
>
> Tainted: [P]=PROPRIETARY_MODULE, [W]=WARN
>
> in dump_stack_print_info() when there are taints.
>
> Note that the "negative flag" G is not included.
>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
> ---

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>