* [PATCH] fix bug in register mci on drivers/edac/i7core_edac.c
@ 2010-04-03 16:29 Wan Wei
0 siblings, 0 replies; only message in thread
From: Wan Wei @ 2010-04-03 16:29 UTC (permalink / raw)
To: mchehab; +Cc: linux-kernel, Wan Wei
Signed-off-by: Wan Wei<onewayforever@gmail.com>
---
drivers/edac/i7core_edac.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index aa40dbe..583c1d1 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -1804,6 +1804,8 @@ static int i7core_register_mci(struct i7core_dev *i7core_dev,
": %s(): failed edac_mce_register()\n", __func__);
}
+ return 0;
+
fail:
edac_mc_free(mci);
return rc;
--
1.6.0.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-03 16:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-03 16:29 [PATCH] fix bug in register mci on drivers/edac/i7core_edac.c Wan Wei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome