[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166272521909.2076816.16685747643958755021.b4-ty@ellerman.id.au>
Date: Fri, 09 Sep 2022 22:06:59 +1000
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@...roup.eu>,
Nicholas Piggin <npiggin@...il.com>,
linux-arch@...r.kernel.org, Michael Ellerman <mpe@...erman.id.au>,
Arnd Bergmann <arnd@...db.de>
Cc: linuxppc-dev@...ts.ozlabs.org, kernel test robot <lkp@...el.com>,
linux-kernel@...r.kernel.org, Nathan Chancellor <nathan@...nel.org>
Subject: Re: [PATCH v2 1/2] powerpc/math_emu/efp: Include module.h
On Fri, 2 Sep 2022 18:00:08 +0200, Christophe Leroy wrote:
> From: Nathan Chancellor <nathan@...nel.org>
>
> 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/2] powerpc/math_emu/efp: Include module.h
https://git.kernel.org/powerpc/c/cfe0d370e0788625ce0df3239aad07a2506c1796
[2/2] powerpc/math-emu: Remove -w build flag and fix warnings
https://git.kernel.org/powerpc/c/7245fc5bb7a966852d5bd7779d1f5855530b461a
cheers
Powered by blists - more mailing lists