From: Wan Wei <onewayforever@gmail.com>
To: mchehab@redhat.com
Cc: linux-kernel@vger.kernel.org, Wan Wei <onewayforever@gmail.com>
Subject: [PATCH] fix bug in register mci on drivers/edac/i7core_edac.c
Date: Sun, 4 Apr 2010 00:29:38 +0800 [thread overview]
Message-ID: <1270312178-9343-1-git-send-email-onewayforever@gmail.com> (raw)
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
reply other threads:[~2010-04-03 16:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1270312178-9343-1-git-send-email-onewayforever@gmail.com \
--to=onewayforever@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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