[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aGYbBEgx7quu01wo@U-2FWC9VHC-2323.local>
Date: Thu, 3 Jul 2025 13:54:12 +0800
From: Feng Tang <feng.tang@...ux.alibaba.com>
To: Lance Yang <lance.yang@...ux.dev>
Cc: paulmck@...nel.org, john.ogness@...utronix.de,
Andrew Morton <akpm@...ux-foundation.org>,
Steven Rostedt <rostedt@...dmis.org>,
Petr Mladek <pmladek@...e.com>, Jonathan Corbet <corbet@....net>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 0/5] generalize panic_print's dump function to be used
by other kernel parts
On Thu, Jul 03, 2025 at 12:56:54PM +0800, Lance Yang wrote:
>
>
> On 2025/7/3 11:23, Lance Yang wrote:
> > Just hit a build failure with this patch series when building for arm64
> > with a minimal configuration:
> >
> > kernel/panic.c: In function ‘setup_panic_sys_info’:
> > kernel/panic.c:151:23: error: implicit declaration of function
> > ‘sys_info_parse_param’ [-Wimplicit-function-declaration]
> > 151 | panic_print = sys_info_parse_param(buf);
> > | ^~~~~~~~~~~~~~~~~~~~
> > make[3]: *** [scripts/Makefile.build:287: kernel/panic.o] Error 1
> > make[2]: *** [scripts/Makefile.build:554: kernel] Error 2
> >
> >
> > To reproduce it:
> > $ make ARCH=arm64 allnoconfig
> > $ make ARCH=arm64 -j$(nproc)
>
> Realized that now: the root cause of the build failure I saw is the
> missing "v3" tag in the subject of the patch #03 - sorry!
>
> b4 reported that it couldn't find patch #03 when I tried to apply
> this patch series, which is why I was getting the "implicit function
> declaration" error ... Obviously, I missed that error before ;(
I see, as I just rerun 'allyes' and 'allno' build and they passed. I didn't
know that the patch version tag will cause the patch applying issue.
Thanks for the review and compiling test!
- Feng
> ```
> ---
> ✓ [PATCH v3 1/5] panic: clean up code for console replay
> ✓ Signed: DKIM/linux.alibaba.com
> ✓ [PATCH v3 2/5] panic: generalize panic_print's function to show sys info
> ✓ Signed: DKIM/linux.alibaba.com
> ERROR: missing [3/5]!
> ✓ [PATCH v3 4/5] panic: add 'panic_sys_info=' setup option for kernel
> cmdline
> ✓ Signed: DKIM/linux.alibaba.com
> ✓ [PATCH v3 5/5] panic: add note that panic_print sysctl interface is
> deprecated
> ✓ Signed: DKIM/linux.alibaba.com
> ---
> Total patches: 4
> ---
> WARNING: Thread incomplete!
> Applying: panic: clean up code for console replay
> Applying: panic: generalize panic_print's function to show sys info
> Applying: panic: add 'panic_sys_info=' setup option for kernel cmdline
> Applying: panic: add note that panic_print sysctl interface is deprecated
> ```
>
> Thanks,
> Lance
>
Powered by blists - more mailing lists