Skip to content

bugs/s390: Fix compile error with old gcc versions

Heiko Carstens linux-s390 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bugs/s390: Remove private WARN_ON() implementationarch/s390/include/asm/bug.h+0 -131 reply
2/2bugs/s390: Use inline assembly without input operandsarch/s390/include/asm/bug.h+41 -401 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlexander Gordeev
1/2R-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] bugs/s390: Fix compile error with old gcc versions

As reported by Naresh and Anders old gcc variants cannot handle strings as input operands for inline assemblies. Rewrite the s390 generic bug support very similar to arm64 and loongarch to fix this.

Also use the opportunity to drop the rather pointless s390 specific WARN_ON() implementation.

Ingo, I think the two patches should also go via the core/bugs branch of the tip repository.

Thanks,
Heiko

Heiko Carstens (2):
bugs/s390: Remove private WARN_ON() implementation bugs/s390: Use inline assembly without input operands

 arch/s390/include/asm/bug.h | 94 ++++++++++++++++---------------------
 1 file changed, 41 insertions(+), 53 deletions(-)
Signature · 1 line
2.48.1