Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Dec 15, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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")

Signature · 2 lines
Cheers,
Stephen Rothwell