Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e419190683cdeeda9be69af1dbc77031478559af
Commit:     e419190683cdeeda9be69af1dbc77031478559af
Parent:     7271339347653f6d652bb47aaee1f57d936002f6
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 30 13:32:13 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Wed Jan 30 13:32:13 2008 +0100

    x86: arch/x86/math-emu/errors.c: fix printk warnings
    
    arch/x86/math-emu/errors.c:163: warning: format '%ld' expects type 'long 
int', but argument 3 has type 'u32'
    arch/x86/math-emu/errors.c:175: warning: format '%ld' expects type 'long 
int', but argument 3 has type 'u32'
    arch/x86/math-emu/errors.c:175: warning: format '%ld' expects type 'long 
int', but argument 4 has type 'u32'
    arch/x86/math-emu/errors.c:175: warning: format '%ld' expects type 'long 
int', but argument 5 has type 'u32'
    arch/x86/math-emu/errors.c:175: warning: format '%ld' expects type 'long 
int', but argument 6 has type 'u32'
    
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
 arch/x86/math-emu/errors.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/math-emu/errors.c b/arch/x86/math-emu/errors.c
index 145b68a..59d353d 100644
--- a/arch/x86/math-emu/errors.c
+++ b/arch/x86/math-emu/errors.c
@@ -149,7 +149,7 @@ void FPU_printall(void)
                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", 
partial_status & 0x8000 ? 1 : 0,   /* busy */
+       printk(" SW: b=%d st=%d es=%d sf=%d cc=%d%d%d%d ef=%d%d%d%d%d%d\n", 
partial_status & 0x8000 ? 1 : 0,    /* busy */
               (partial_status & 0x3800) >> 11, /* stack top pointer */
               partial_status & 0x80 ? 1 : 0,   /* Error summary status */
               partial_status & 0x40 ? 1 : 0,   /* Stack flag */
@@ -162,7 +162,7 @@ void FPU_printall(void)
               partial_status & SW_Denorm_Op ? 1 : 0,
               partial_status & SW_Invalid ? 1 : 0);
 
-       printk(" CW: ic=%d rc=%ld%ld pc=%ld%ld iem=%d     ef=%d%d%d%d%d%d\n",
+       printk(" CW: ic=%d rc=%d%d pc=%d%d iem=%d     ef=%d%d%d%d%d%d\n",
               control_word & 0x1000 ? 1 : 0,
               (control_word & 0x800) >> 11, (control_word & 0x400) >> 10,
               (control_word & 0x200) >> 9, (control_word & 0x100) >> 8,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to