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

Stephen Rothwell
2022-05-05T21:38:34Z

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

Hi all,

On Fri, 6 May 2022 07:35:37 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> 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.

This is actually a build failure.