linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [next] x86: fs/hugetlbfs/inode.c:673:16: error: variable 'm_index' is uninitialized when used here [-Werror,-Wuninitialized]
@ 2022-08-25 10:43 Naresh Kamboju
  2022-08-25 16:10 ` Nathan Chancellor
  2022-08-25 16:56 ` Mike Kravetz
  0 siblings, 2 replies; 4+ messages in thread
From: Naresh Kamboju @ 2022-08-25 10:43 UTC (permalink / raw)
  To: Mike Kravetz, linux-mm, Andrew Morton, open list, regressions,
	Nathan Chancellor, clang-built-linux
  Cc: Muchun Song, Andrea Arcangeli, Aneesh Kumar K.V, Axel Rasmussen,
	David Hildenbrand, Davidlohr Bueso, James Houghton,
	Kirill A. Shutemov, Miaohe Lin, Michal Hocko, Mina Almasry,
	Naoya Horiguchi, Pasha Tatashin, Peter Xu, Prakash Sangappa

The x86_64 and i386 clang builds failed due to these warnings / errors
on Linux next-20220825.

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

fs/hugetlbfs/inode.c:673:16: error: variable 'm_index' is
uninitialized when used here [-Werror,-Wuninitialized]
                                                m_start, m_index, truncate_op);
                                                         ^~~~~~~
fs/hugetlbfs/inode.c:651:26: note: initialize the variable 'm_index'
to silence this warning
        pgoff_t m_start, m_index;
                                ^
                                 = 0
1 error generated.
make[3]: *** [scripts/Makefile.build:250: fs/hugetlbfs/inode.o] Error 1
make[3]: Target '__build' not remade because of errors.
make[2]: *** [scripts/Makefile.build:525: fs/hugetlbfs] Error 2

Build link: https://builds.tuxbuild.com/2Dpvef6uVvzHMztbfQRmxJfPXZT/

Steps to reproduce:
-------------------
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake

tuxmake --runtime podman --target-arch x86_64 --toolchain clang-14
--kconfig https://builds.tuxbuild.com/2Dpvef6uVvzHMztbfQRmxJfPXZT/config
LLVM=1 LLVM_IAS=1

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


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

end of thread, other threads:[~2022-08-26  1:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25 10:43 [next] x86: fs/hugetlbfs/inode.c:673:16: error: variable 'm_index' is uninitialized when used here [-Werror,-Wuninitialized] Naresh Kamboju
2022-08-25 16:10 ` Nathan Chancellor
2022-08-25 16:56 ` Mike Kravetz
2022-08-26  1:21   ` Andrew Morton

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