Re: next: x86_64 defconfig with clang-17 failed
From: Andrew Morton
Date: Thu Mar 28 2024 - 14:50:23 EST
On Thu, 28 Mar 2024 19:05:51 +0530 Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote:
> While building x86_64 defconfig with clang-17 the following build warnings /
> errors noticed on Linux next-20240328 tag.
>
> Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
>
> Build error:
> ---------
> mm/memory.c:5094:25: error: variable 'pte' is uninitialized when used
> here [-Werror,-Wuninitialized]
> 5094 | writable = pte_write(pte);
> | ^~~
> mm/memory.c:5083:3: note: variable 'pte' is declared here
> 5083 | pte_t pte, old_pte;
> | ^
Thanks. Presumably ptent was intended, but this may not have had
adequate runtime testing. I'll drop the two-patch series "support
multi-size THP numa balancing".