linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* next: x86_64 defconfig with clang-17 failed
@ 2024-03-28 13:35 Naresh Kamboju
  2024-03-28 18:50 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2024-03-28 13:35 UTC (permalink / raw)
  To: open list, linux-mm, Linux Regressions, lkft-triage, clang-built-linux
  Cc: Andrew Morton, Nathan Chancellor, Nick Desaulniers, Baolin Wang,
	willy, David Hildenbrand

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@linaro.org>

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;
      |                 ^
1 error generated.

steps to reproduce:
----------
# tuxmake --runtime podman --target-arch x86_64 --toolchain clang-17
--kconfig x86_64_defconfig LLVM=1 LLVM_IAS=1


Links:
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240328/testrun/23230289/suite/build/test/clang-17-x86_64_defconfig/log
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240328/testrun/23230289/suite/build/test/clang-17-x86_64_defconfig/details/
 - https://storage.tuxsuite.com/public/linaro/lkft/builds/2eIseG3mebbz7v0HESNW2YOTmiu/

--
Linaro LKFT
https://lkft.linaro.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: next: x86_64 defconfig with clang-17 failed
  2024-03-28 13:35 next: x86_64 defconfig with clang-17 failed Naresh Kamboju
@ 2024-03-28 18:50 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2024-03-28 18:50 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: open list, linux-mm, Linux Regressions, lkft-triage,
	clang-built-linux, Nathan Chancellor, Nick Desaulniers,
	Baolin Wang, willy, David Hildenbrand

On Thu, 28 Mar 2024 19:05:51 +0530 Naresh Kamboju <naresh.kamboju@linaro.org> 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@linaro.org>
> 
> 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".



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-28 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-28 13:35 next: x86_64 defconfig with clang-17 failed Naresh Kamboju
2024-03-28 18:50 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox