From: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
To: Ingo Molnar <mingo@elte.hu>, Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH 3/7] X86: Fix trailing statements should be on next line
Date: Tue, 29 Jan 2008 00:07:44 +0100 [thread overview]
Message-ID: <20080129000744.698639d3@paolo-desktop> (raw)
Fix trailing statements should be on next line
Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
---
arch/x86/math-emu/errors.c | 39 ++++++++++++++++++++++++++-------------
1 files changed, 26 insertions(+), 13 deletions(-)
diff --git a/arch/x86/math-emu/errors.c b/arch/x86/math-emu/errors.c
index 7f96db4..4419339 100644
--- a/arch/x86/math-emu/errors.c
+++ b/arch/x86/math-emu/errors.c
@@ -93,19 +93,32 @@ void FPU_printall(void)
partial_status = status_word();
#ifdef DEBUGGING
-if ( partial_status & SW_Backward ) printk("SW: backward compatibility\n");
-if ( partial_status & SW_C3 ) printk("SW: condition bit 3\n");
-if ( partial_status & SW_C2 ) printk("SW: condition bit 2\n");
-if ( partial_status & SW_C1 ) printk("SW: condition bit 1\n");
-if ( partial_status & SW_C0 ) printk("SW: condition bit 0\n");
-if ( partial_status & SW_Summary ) printk("SW: exception summary\n");
-if ( partial_status & SW_Stack_Fault ) printk("SW: stack fault\n");
-if ( partial_status & SW_Precision ) printk("SW: loss of precision\n");
-if ( partial_status & SW_Underflow ) printk("SW: underflow\n");
-if ( partial_status & SW_Overflow ) printk("SW: overflow\n");
-if ( partial_status & SW_Zero_Div ) printk("SW: divide by zero\n");
-if ( partial_status & SW_Denorm_Op ) printk("SW: denormalized operand\n");
-if ( partial_status & SW_Invalid ) printk("SW: invalid operation\n");
+if ( partial_status & SW_Backward )
+printk("SW: backward compatibility\n");
+if ( partial_status & SW_C3 )
+printk("SW: condition bit 3\n");
+if ( partial_status & SW_C2 )
+printk("SW: condition bit 2\n");
+if ( partial_status & SW_C1 )
+printk("SW: condition bit 1\n");
+if ( partial_status & SW_C0 )
+printk("SW: condition bit 0\n");
+if ( partial_status & SW_Summary )
+printk("SW: exception summary\n");
+if ( partial_status & SW_Stack_Fault )
+printk("SW: stack fault\n");
+if ( partial_status & SW_Precision )
+printk("SW: loss of precision\n");
+if ( partial_status & SW_Underflow )
+printk("SW: underflow\n");
+if ( partial_status & SW_Overflow )
+printk("SW: overflow\n");
+if ( partial_status & SW_Zero_Div )
+printk("SW: divide by zero\n");
+if ( partial_status & SW_Denorm_Op )
+printk("SW: denormalized operand\n");
+if ( partial_status & SW_Invalid )
+printk("SW: invalid operation\n");
#endif /* DEBUGGING */
printk(" SW: b=%d st=%ld es=%d sf=%d cc=%d%d%d%d ef=%d%d%d%d%d%d\n",
--
1.5.4.rc3
next reply other threads:[~2008-01-28 23:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 23:07 Paolo Ciarrocchi [this message]
2008-01-28 23:07 ` [PATCH 3/7] X86: Fix trailing statements should be on next line Willy Tarreau
2008-01-29 12:43 ` Stefan Richter
2008-02-01 16:21 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080129000744.698639d3@paolo-desktop \
--to=paolo.ciarrocchi@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox