linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* mm: huge_memory.c:2736:31: error: variable 'page' is uninitialized when used here [-Werror,-Wuninitialized]
@ 2024-06-26 16:44 Naresh Kamboju
  2024-06-26 17:00 ` Nathan Chancellor
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2024-06-26 16:44 UTC (permalink / raw)
  To: open list, linux-mm, lkft-triage, clang-built-linux
  Cc: Andrew Morton, Arnd Bergmann, Lance Yang

The x86_64 clang builds failed on Linux next due to these warnings / errors.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

Build error:
------
mm/huge_memory.c:2736:31: error: variable 'page' is uninitialized when
used here [-Werror,-Wuninitialized]
 2736 |         folio_remove_rmap_pmd(folio, page, vma);
      |                                      ^~~~
/builds/linux/mm/huge_memory.c:2700:19: note: initialize the variable
'page' to silence this warning
 2700 |         struct page *page;
      |                          ^
      |                           = NULL
1 error generated.

patch that is causing this build failures,
  mm/vmscan: avoid split lazyfree THP during shrink_folio_list()

metadata:

--
  git_describe: next-20240625
  git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
  git_short_log: 0fc4bfab2cd4 ("Add linux-next specific files for 20240625")
  arch: x86_64
  toolchain: clang-18

Links:
 - https://storage.tuxsuite.com/public/linaro/lkft/builds/2iNfPlsMdxsqZTOC14r1xZZxq8X/
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240625/testrun/24448204/suite/build/test/clang-18-lkftconfig/details/

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


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

end of thread, other threads:[~2024-06-26 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-26 16:44 mm: huge_memory.c:2736:31: error: variable 'page' is uninitialized when used here [-Werror,-Wuninitialized] Naresh Kamboju
2024-06-26 17:00 ` Nathan Chancellor

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