lkml.org 
[lkml]   [2008]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 3/7] X86: Fix trailing statements should be on next line
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


\
 
 \ /
  Last update: 2008-01-29 00:13    [W:0.044 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site