[next] fs/proc/task_mmu.c:1444:14: warning: unused variable 'migration'

From: Naresh Kamboju
Date: Mon Feb 07 2022 - 07:04:13 EST


While building Linux next-20220207 for arm architecture the following
error was noticed.

make --silent --keep-going --jobs=8 \
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- \
'CC=sccache arm-linux-gnueabihf-gcc' \
'HOSTCC=sccache gcc' \
vexpress_defconfig

fs/proc/task_mmu.c: In function 'pagemap_pmd_range':
fs/proc/task_mmu.c:1444:14: warning: unused variable 'migration'
[-Wunused-variable]
1444 | bool migration = false;
| ^~~~~~~~~

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

Build log:
https://builds.tuxbuild.com/24lg0EnsbEf6deWnMXwXiwh8oVi/

metadata:
git_describe: next-20220207
git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git_short_log: b3c0a155ef77 (\"Add linux-next specific files for 20220207\")
target_arch: arm
toolchain: gcc-10


--
Linaro LKFT
https://lkft.linaro.org