qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] This patch hunk will hang scripts/checkpatch.pl...
@ 2015-02-02 20:22 Peter Maydell
  2015-02-03 10:03 ` Dr. David Alan Gilbert
  2015-02-09 12:18 ` [Qemu-devel] [PATCH] checkpatch: port fix from kernel "## is not a valid modifier" Christian Borntraeger
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Maydell @ 2015-02-02 20:22 UTC (permalink / raw)
  To: QEMU Developers

The following patch file (a cut down lump of an actual change
I was making) seems to cause scripts/checkpatch.pl to hang.
I find that script too opaque to try to debug, but I post the
offending input here in case anybody else wishes to investigate.

====begin====
commit 4b3cf48c7fa455eb3b31dc844c959964e750a025
Author: Peter Maydell <peter.maydell@linaro.org>
Date:   Mon Feb 2 18:47:16 2015 +0000

    This patch will hang checkpatch.pl.

diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 1110a7e..ab6a93c 100644
@@ -7218,13 +7325,13 @@ static inline int float ## s ##
_compare_internal(float ## s a, float ## s b,\
                                                                              \
 int float ## s ## _compare(float ## s a, float ## s b, float_status *status) \
 {                                                                            \
-    return float ## s ## _compare_internal(a, b, 0 STATUS_VAR);              \
+    return float ## s ## _compare_internal(a, b, 0, status);              \
 }                                                                            \
                                                                              \
 int float ## s ## _compare_quiet(float ## s a, float ## s b,                 \
                                  float_status *status)                       \
 {                                                                            \
-    return float ## s ## _compare_internal(a, b, 1 STATUS_VAR);              \
+    return float ## s ## _compare_internal(a, b, 1, status);              \
 }

 COMPARE(32, 0xff)
====endit====

thanks
-- PMM

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-02-09 15:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-02 20:22 [Qemu-devel] This patch hunk will hang scripts/checkpatch.pl Peter Maydell
2015-02-03 10:03 ` Dr. David Alan Gilbert
2015-02-09 12:18 ` [Qemu-devel] [PATCH] checkpatch: port fix from kernel "## is not a valid modifier" Christian Borntraeger
2015-02-09 14:31   ` Paolo Bonzini
2015-02-09 15:08     ` Christian Borntraeger
2015-02-09 15:59       ` Don Slutz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).