mbox series

[0/3] sh: fixes for various build warnings

Message ID 20210602231443.4670-1-rdunlap@infradead.org (mailing list archive)
Headers show
Series sh: fixes for various build warnings | expand

Message

Randy Dunlap June 2, 2021, 11:14 p.m. UTC
Fix a few build warnings on SUPERH.

Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: linux-sh@vger.kernel.org

[PATCH 1/3] sh: convert xchg() to a statement expression
[RFC PATCH 2/3] sh: define __BIG_ENDIAN for math-emu
[PATCH 3/3] sh: fix READ/WRITE redefinition warnings

 arch/sh/include/asm/cmpxchg.h |    2 -
 arch/sh/math-emu/math.c       |   44 ++++++++++++++++----------------
 arch/sh/math-emu/sfp-util.h   |    2 -
 3 files changed, 24 insertions(+), 24 deletions(-)

Comments

John Paul Adrian Glaubitz June 3, 2021, 6:51 a.m. UTC | #1
Hi Randy!

On 6/3/21 1:14 AM, Randy Dunlap wrote:
> Fix a few build warnings on SUPERH.
> 
> Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
> Cc: Rich Felker <dalias@libc.org>
> Cc: linux-sh@vger.kernel.org
> 
> [PATCH 1/3] sh: convert xchg() to a statement expression
> [RFC PATCH 2/3] sh: define __BIG_ENDIAN for math-emu
> [PATCH 3/3] sh: fix READ/WRITE redefinition warnings
> 
>  arch/sh/include/asm/cmpxchg.h |    2 -
>  arch/sh/math-emu/math.c       |   44 ++++++++++++++++----------------
>  arch/sh/math-emu/sfp-util.h   |    2 -
>  3 files changed, 24 insertions(+), 24 deletions(-)

Thanks for your patches. I have been pondering to fix these warnings for a while
now glad someone else was quicker than me :-).

I will test your patches later today and see if there are any regressions.

Adrian