Thread (5 messages) flat view 5 messages, 3 authors, 2007-03-26
STALE7120d

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

From: Florian Fainelli <hidden>
Date: 2007-03-16 15:40:36
Subsystem: mips, the rest · Maintainers: Thomas Bogendoerfer, Linus Torvalds

Hi all,

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

Signed-off-by: Florian Fainelli <redacted>

-----
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;
        }
 }
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help