]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
powerpc: Drop unnecessary initializations in __copy_inst_from_kernel_nofault()
authorNathan Chancellor <nathan@kernel.org>
Thu, 21 Aug 2025 21:15:43 +0000 (14:15 -0700)
committerNathan Chancellor <nathan@kernel.org>
Thu, 28 Aug 2025 23:58:44 +0000 (16:58 -0700)
commit488954ca195d03f651208355ed5cac428846ee97
tree22f85928785ba8da427411022a66da0b49f725de
parente633c2e78fd1cc9c4b89518b8d12578a7aa529c1
powerpc: Drop unnecessary initializations in __copy_inst_from_kernel_nofault()

Now that the minimum supported version of LLVM for building the kernel
has been bumped to 15.0.0, the zero initializations of val and suffix
added by commit 0d76914a4c99 ("powerpc/inst: Optimise
copy_inst_from_kernel_nofault()") to avoid a bogus case of
-Wuninitialized can be dropped because the preprocessor condition is
always false.

Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20250821-bump-min-llvm-ver-15-v2-6-635f3294e5f0@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
arch/powerpc/include/asm/inst.h