diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-09-02 19:00:09 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-09-05 10:28:25 +0300 |
commit | 7245fc5bb7a966852d5bd7779d1f5855530b461a (patch) | |
tree | d20995094f90f06a2c95c4c0414a2b06c57067d3 /arch/powerpc/math-emu/Makefile | |
parent | cfe0d370e0788625ce0df3239aad07a2506c1796 (diff) | |
download | linux-7245fc5bb7a966852d5bd7779d1f5855530b461a.tar.xz |
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
Diffstat (limited to 'arch/powerpc/math-emu/Makefile')
-rw-r--r-- | arch/powerpc/math-emu/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/math-emu/Makefile b/arch/powerpc/math-emu/Makefile index a8794032f15f..26fef2e5672e 100644 --- a/arch/powerpc/math-emu/Makefile +++ b/arch/powerpc/math-emu/Makefile @@ -16,5 +16,3 @@ obj-$(CONFIG_SPE) += math_efp.o CFLAGS_fabs.o = -fno-builtin-fabs CFLAGS_math.o = -fno-builtin-fabs - -ccflags-y = -w |