Re: [PATCH 6.18 2/2] sched/topology: Fix sched domain build error for GNR, CWF in SNC-3 mode
From: Tim Chen
Date: Mon Feb 09 2026 - 14:21:22 EST
On Mon, 2026-02-09 at 09:29 +0530, K Prateek Nayak wrote:
> Hello Greg,
>
> On 2/7/2026 8:59 PM, Greg KH wrote:
> > This breaks the build:
> > CC arch/x86/kernel/smpboot.o
> > arch/x86/kernel/smpboot.c:548:5: error: no previous prototype for ‘arch_sched_node_distance’ [-Werror=missing-prototypes]
> > 548 | int arch_sched_node_distance(int from, int to)
> > | ^~~~~~~~~~~~~~~~~~~~~~~~
> > cc1: all warnings being treated as errors
> >
> > How was it tested?
>
> I believe this build issue was fixed by upstream commit 73cbcfe255f7
> ("sched/topology,x86: Fix build warning")
>
> (Full upstream SHA: 73cbcfe255f7edca915d978a7d1b0a11f2d62812)
>
> P.S. It cherry-picks cleanly on top of "Linux 6.18.9".
Pratek,
Thanks for pointing to the patch.
Tim