mm/vmalloc.c:4691:25: error: variable 'addr' is uninitialized when used here [-Werror,-Wuninitialized]

From: Naresh Kamboju
Date: Thu Jan 11 2024 - 05:55:23 EST


Following build failures noticed on i386 and x86 with clang builds on the
Linux next-20240111 tag.

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

Build error:
----------
mm/vmalloc.c:4691:25: error: variable 'addr' is uninitialized when
used here [-Werror,-Wuninitialized]
4691 | va = __find_vmap_area(addr, &vn->busy.root);
| ^~~~
mm/vmalloc.c:4684:20: note: initialize the variable 'addr' to silence
this warning
4684 | unsigned long addr;
| ^
| = 0
1 error generated.

Links:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240111/testrun/22036090/suite/build/test/clang-lkftconfig/details/

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