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

From: Stephen Rothwell
Date: Thu Dec 14 2017 - 21:48:45 EST


Hi Andrew,

After merging the akpm-current tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

mm/khugepaged.c: In function 'khugepaged':
mm/khugepaged.c:1757:31: warning: 'vma' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (khugepaged_test_exit(mm) || !vma) {
^
mm/khugepaged.c:1659:25: note: 'vma' was declared here
struct vm_area_struct *vma;
^

Introduced by commit

0951b59acf3a ("mm: thp: use down_read_trylock() in khugepaged to avoid long block")

--
Cheers,
Stephen Rothwell