Re: [PATCH] panic: Clean up message about deprecated 'panic_print' parameter
From: Lance Yang
Date: Wed Aug 20 2025 - 06:39:42 EST
On 2025/8/20 17:33, Petr Mladek wrote:
On Wed 2025-08-20 16:57:48, Lance Yang wrote:
On 2025/8/20 09:56, Lance Yang wrote:
On 2025/8/20 09:54, Lance Yang wrote:
On 2025/8/20 09:31, kernel test robot wrote:
All errors (new ones prefixed by >>):
kernel/panic.c:952:2: error: call to undeclared function
'panic_print_deprecated'; ISO C99 and later do not
support implicit function declarations
[-Wimplicit-function-declaration]
952 | panic_print_deprecated();
| ^
kernel/panic.c:958:2: error: call to undeclared function
'panic_print_deprecated'; ISO C99 and later do not support
implicit function declarations [-Wimplicit-function-declaration]
958 | panic_print_deprecated();
| ^
2 errors generated.
Oops, panic_print_deprecated() is defined within the #ifdef
CONFIG_PROC_SYSCTL block, but it's also called from panic_print_set()
If Petr is cool, @Andrew could you squash the following?
---
Subject: [PATCH 1/1] fixup: panic: clean up message about deprecated
'panic_print' parameter
The patch was malformed probably by your mail client.
Below is the fixed and revied variant.
Yes. My client messed up the formatting - git send-email it is ;)
Thanks,
Lance