Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=41a8198f61d858bcad7ef705d5d3ec3e3a8dea4a
Commit:     41a8198f61d858bcad7ef705d5d3ec3e3a8dea4a
Parent:     bf9f88a2192aaee6f1bbff50175aa68ff107355e
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Sat Mar 24 14:09:59 2007 +0000
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Sat Mar 24 17:01:50 2007 +0000

    [MIPS] SB1: Fix pile of gcc's bogus format string warnings.
    
      CC      arch/mips/mm/cerr-sb1.o
    arch/mips/mm/cerr-sb1.c: In function 'sb1_cache_error':
    arch/mips/mm/cerr-sb1.c:235: warning: format '%010llx' expects type 'long 
long unsigned int', but argument 2 has type 'uint64_t'
    arch/mips/mm/cerr-sb1.c: In function 'extract_ic':
    arch/mips/mm/cerr-sb1.c:385: warning: format '%016llx' expects type 'long 
long unsigned int', but argument 3 has type 'uint64_t'
    arch/mips/mm/cerr-sb1.c:385: warning: format '%016llX' expects type 'long 
long unsigned int', but argument 6 has type 'uint64_t'
    arch/mips/mm/cerr-sb1.c: In function 'extract_dc':
    arch/mips/mm/cerr-sb1.c:523: warning: format '%010llx' expects type 'long 
long unsigned int', but argument 3 has type 'uint64_t'
    arch/mips/mm/cerr-sb1.c:523: warning: format '%016llX' expects type 'long 
long unsigned int', but argument 7 has type 'uint64_t'
    arch/mips/mm/cerr-sb1.c:570: warning: format '%016llX' expects type 'long 
long unsigned int', but argument 3 has type 'uint64_t'
      LD      arch/mips/mm/built-in.o
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/mm/cerr-sb1.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/arch/mips/mm/cerr-sb1.c b/arch/mips/mm/cerr-sb1.c
index 11a9166..4c72e65 100644
--- a/arch/mips/mm/cerr-sb1.c
+++ b/arch/mips/mm/cerr-sb1.c
@@ -177,8 +177,8 @@ extern void check_bus_watcher(void);
 
 asmlinkage void sb1_cache_error(void)
 {
-       uint64_t cerr_dpa;
        uint32_t errctl, cerr_i, cerr_d, dpalo, dpahi, eepc, res;
+       unsigned long long cerr_dpa;
 
 #ifdef CONFIG_SIBYTE_BW_TRACE
        /* Freeze the trace buffer now */
@@ -329,8 +329,9 @@ static uint32_t extract_ic(unsigned short addr, int data)
 {
        unsigned short way;
        int valid;
-       uint64_t taglo, va, tlo_tmp;
        uint32_t taghi, taglolo, taglohi;
+       unsigned long long taglo, va;
+       uint64_t tlo_tmp;
        uint8_t lru;
        int res = 0;
 
@@ -484,8 +485,8 @@ static uint32_t extract_dc(unsigned short addr, int data)
 {
        int valid, way;
        unsigned char state;
-       uint64_t taglo, pa;
        uint32_t taghi, taglolo, taglohi;
+       unsigned long long taglo, pa;
        uint8_t ecc, lru;
        int res = 0;
 
@@ -535,8 +536,8 @@ static uint32_t extract_dc(unsigned short addr, int data)
                }
 
                if (data) {
-                       uint64_t datalo;
                        uint32_t datalohi, datalolo, datahi;
+                       unsigned long long datalo;
                        int offset;
                        char bad_ecc = 0;
 
-
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