Re: [PATCH] panic: Clean up message about deprecated 'panic_print' parameter
From: Petr Mladek
Date: Wed Aug 20 2025 - 05:41:16 EST
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.
I am going to resend also the squashed version.
Here is the fixed followup patch: