linux-mips
[Top] [All Lists]

[PATCH] Fix a warning in lib-64/dump_tlb.c

To: linux-mips@linux-mips.org
Subject: [PATCH] Fix a warning in lib-64/dump_tlb.c
From: Florian Fainelli <florian.fainelli@int-evry.fr>
Date: Fri, 16 Mar 2007 16:40:10 +0100
Openpgp: id=DABD1772
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5.0.10 (Macintosh/20070221)
Hi all,

This patch suppresses a warning in arch/mips/lib-64/dump_tlb.c

Signed-off-by: Florian Fainelli <florian.fainelli@int-evry.fr>

-----
diff --git a/arch/mips/lib-64/dump_tlb.c b/arch/mips/lib-64/dump_tlb.c
index 8232900..60a87c5 100644
--- a/arch/mips/lib-64/dump_tlb.c
+++ b/arch/mips/lib-64/dump_tlb.c
@@ -30,6 +30,7 @@ static inline const char *msk2str(unsigned int mask)
        case PM_64M:    return "64Mb";
        case PM_256M:   return "256Mb";
 #endif
+       default:        return NULL;
        }
 }

<Prev in Thread] Current Thread [Next in Thread>