* [PATCH] Fix build failure in op_model_mipsxx.c
@ 2006-07-07 9:38 Thiemo Seufer
0 siblings, 0 replies; only message in thread
From: Thiemo Seufer @ 2006-07-07 9:38 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
Hello All,
this fixes a build warning which gets handled as -Werror.
Thiemo
Signed-off-by: Thiemo Seufer <ths@networkno.de>
diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c
index a09c5f9..a175d67 100644
--- a/arch/mips/oprofile/op_model_mipsxx.c
+++ b/arch/mips/oprofile/op_model_mipsxx.c
@@ -49,6 +49,7 @@ static inline unsigned int r_c0_ ## r ##
default: \
BUG(); \
} \
+ return 0; \
} \
\
static inline void w_c0_ ## r ## n(unsigned int value) \
@@ -65,6 +66,7 @@ static inline void w_c0_ ## r ## n(unsig
default: \
BUG(); \
} \
+ return; \
} \
__define_perf_accessors(perfcntr, 0, 2)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-07-07 9:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07 9:38 [PATCH] Fix build failure in op_model_mipsxx.c Thiemo Seufer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.