lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 4 Apr 2010 00:29:38 +0800 From: Wan Wei <onewayforever@...il.com> To: mchehab@...hat.com Cc: linux-kernel@...r.kernel.org, Wan Wei <onewayforever@...il.com> Subject: [PATCH] fix bug in register mci on drivers/edac/i7core_edac.c Signed-off-by: Wan Wei<onewayforever@...il.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@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists