linux-mips
[Top] [All Lists]

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

To: Thiemo Seufer <ths@networkno.de>
Subject: Re: [PATCH] Fix a warning in lib-64/dump_tlb.c
From: Florian Fainelli <florian.fainelli@int-evry.fr>
Date: Mon, 26 Mar 2007 23:09:56 +0200
Cc: "Maciej W. Rozycki" <macro@linux-mips.org>, linux-mips@linux-mips.org
In-reply-to: <20070321165521.GI2311@networkno.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <45FABA5A.5000007@int-evry.fr> <Pine.LNX.4.64N.0703211540520.2628@blysk.ds.pg.gda.pl> <20070321165521.GI2311@networkno.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.6
Hello,

Here is the patch taking into account your remarks. Thanks !

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..a320944 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:        BUG();
        }
 }

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