linux-next: build warning after merge of the mm tree

From: Stephen Rothwell
Date: Thu May 05 2022 - 17:36:30 EST


Hi all,

After merging the mm tree, today's linux-next build (i386 allmodconfig
clang14) produced this warning:

mm/shmem.c:1704:7: error: variable 'folio' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]

Introduced by commit

2b58b3f33ba2 ("mm/shmem: convert shmem_swapin_page() to shmem_swapin_folio()")

'folio' is used in the error path.
--
Cheers,
Stephen Rothwell

Attachment: pgpGYF7oIZqbc.pgp
Description: OpenPGP digital signature