Re: [PATCH] panic: remove the unneeded panic_print_get()
From: Petr Mladek
Date: Thu Sep 03 2026 - 11:21:24 EST
On Wed 2026-09-02 19:48:51, Feng Tang wrote:
> panic_print_get() was introduced in commit 2683df6539cb ("panic: add
> note that 'panic_print' parameter is deprecated") to print out warning
> message of the deprecation of 'panic_print' on read access.
>
> Since commit 90f3c123247e ("panic: only warn about deprecated panic_print
> on write access"), panic_print_get() wrapper is not needed anymore for
> read access, so remove it and use param_get_ulong() instead.
>
> Signed-off-by: Feng Tang <feng.tang@xxxxxxxxxxxxxxxxx>
Nice cleanup.
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr