From: Wan Wei on
Signed-off-by: Wan Wei<onewayforever(a)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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/