[PATCH] powerpc/math_emu/efp: Include module.h
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Sep 9 22:06:50 AEST 2022
On Wed, 31 Aug 2022 08:20:15 -0700, Nathan Chancellor wrote:
> When building with a recent version of clang, there are a couple of
> errors around the call to module_init():
>
> arch/powerpc/math-emu/math_efp.c:927:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
> module_init(spe_mathemu_init);
> ^
> int
> arch/powerpc/math-emu/math_efp.c:927:13: error: a parameter list without types is only allowed in a function definition
> module_init(spe_mathemu_init);
> ^
> 2 errors generated.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/math_emu/efp: Include module.h
https://git.kernel.org/powerpc/c/cfe0d370e0788625ce0df3239aad07a2506c1796
cheers
More information about the Linuxppc-dev
mailing list