2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-15 16:53:54 +08:00
linux-next/include/math-emu
Christophe Leroy 7245fc5bb7 powerpc/math-emu: Remove -w build flag and fix warnings
As reported by Nathan, the module_init() macro was not taken into
account because the header was missing. That means spe_mathemu_init()
was never called.

This should have been detected by gcc at build time, but due to
'-w' flag it went undetected.

Removing that flag leads to many warnings hence errors.

Fix those warnings then remove the -w flag.

Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/2663961738a46073713786d4efeb53100ca156e7.1662134272.git.christophe.leroy@csgroup.eu
2022-09-05 17:28:25 +10:00
..
double.h
op-1.h
op-2.h math-emu: Use statement expressions to fix Wshift-count-overflow warning 2019-05-31 15:23:25 +08:00
op-4.h
op-8.h
op-common.h powerpc/math-emu: Remove -w build flag and fix warnings 2022-09-05 17:28:25 +10:00
quad.h
single.h
soft-fp.h math-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning 2018-11-22 18:13:42 +08:00