mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: wan wei <onewayforever@gmail.com>
To: dougthompson@xmission.com, borislav.petkov@amd.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] amd64_edac: fix insmod fail while ecc is enabled
Date: Tue, 28 Jul 2009 00:47:33 +0800	[thread overview]
Message-ID: <86bb1aef0907270947o6219f950xf13a077b30486d41@mail.gmail.com> (raw)

Signed-off-by: Wan Wei<wanwei@mail.dawning.com.cn>

diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index 858fe60..95b1096 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -2979,6 +2979,7 @@ static int amd64_check_ecc_enabled(struct amd64_pvt *pvt)

                /* CLEAR the override, since BIOS controlled it */
                ecc_enable_override = 0;
+               ret = 0;
        }

        return ret;

             reply	other threads:[~2009-07-27 16:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-27 16:47 wan wei [this message]
2009-07-27 17:01 ` Borislav Petkov
2009-07-27 17:04   ` Borislav Petkov
2009-07-27 18:01 ` Doug Thompson
2009-07-27 18:43   ` Borislav Petkov
2009-07-27 19:15     ` Doug Thompson

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=86bb1aef0907270947o6219f950xf13a077b30486d41@mail.gmail.com \
    --to=onewayforever@gmail.com \
    --cc=borislav.petkov@amd.com \
    --cc=dougthompson@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®