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

From: Stephen Rothwell
Date: Tue Aug 01 2017 - 02:03:04 EST


Hi Andrew,

After merging the akpm tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

mm/swapfile.c: In function 'reuse_swap_page':
mm/swapfile.c:1429:16: warning: 'offset' may be used uninitialized in this function [-Wmaybe-uninitialized]
unsigned long offset;
^

Introduced by commit

e16cd4930836 ("mm, THP, swap: make reuse_swap_page() works for THP swapped out")

--
Cheers,
Stephen Rothwell