On Thu, 17 Sep 2020 12:45:09 +1000, Michael Ellerman wrote: > Clang, and GCC with -Wmaybe-uninitialized, can't see that val is > unused in get_fpexec_mode(): > > arch/powerpc/kernel/process.c:1940:7: error: variable 'val' is used > uninitialized whenever 'if' condition is true > if (cpu_has_feature(CPU_FTR_SPE)) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > [...]
Applied to powerpc/next. [1/1] powerpc/process: Fix uninitialised variable error https://git.kernel.org/powerpc/c/d208e13c6a2277d9fb71fad6a1394c70bdd7b634 cheers