Re: [PATCH] lib/mpi: fix building with 32-bit x86

2019-07-12 Thread Nick Desaulniers
On Fri, Jul 12, 2019 at 2:07 AM Arnd Bergmann wrote: > > The mpi library contains some rather old inline assembly statements > that produce a lot of warnings for 32-bit x86, such as: > > lib/mpi/mpih-div.c:76:16: error: invalid use of a cast in a inline asm > context requiring an l-value: remove

[PATCH] lib/mpi: fix building with 32-bit x86

2019-07-12 Thread Arnd Bergmann
The mpi library contains some rather old inline assembly statements that produce a lot of warnings for 32-bit x86, such as: lib/mpi/mpih-div.c:76:16: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions