[PATCH] lib/mpi: Fix building for powerpc with clang
Michael Ellerman
patch-notifications at ellerman.id.au
Sun Apr 26 09:51:14 AEST 2020
On Mon, 2020-04-13 at 19:50:42 UTC, Nathan Chancellor wrote:
> 0day reports over and over on an powerpc randconfig with clang:
>
> lib/mpi/generic_mpih-mul1.c:37:13: error: invalid use of a cast in a
> inline asm context requiring an l-value: remove the cast or build with
> -fheinous-gnu-extensions
>
> Remove the superfluous casts, which have been done previously for x86
> and arm32 in commit dea632cadd12 ("lib/mpi: fix build with clang") and
> commit 7b7c1df2883d ("lib/mpi/longlong.h: fix building with 32-bit
> x86").
>
> Reported-by: kbuild test robot <lkp at intel.com>
> Link: https://github.com/ClangBuiltLinux/linux/issues/991
> Signed-off-by: Nathan Chancellor <natechancellor at gmail.com>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/5990cdee689c6885b27c6d969a3d58b09002b0bc
cheers
More information about the Linuxppc-dev
mailing list