public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] amd64_edac: to read the right f2maskoffset reg
@ 2009-07-24 19:15 wan wei
  2009-07-27 12:54 ` Borislav Petkov
  0 siblings, 1 reply; 2+ messages in thread
From: wan wei @ 2009-07-24 19:15 UTC (permalink / raw)
  To: dougthompson, borislav.petkov; +Cc: linux-kernel

Signed-off-by: Wan Wei<wanwei@mail.dawning.com.cn, onewayforever@gmail.com>
---
 drivers/edac/amd64_edac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index 858fe60..24964c1 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -970,7 +970,7 @@ static void amd64_read_dct_base_mask(struct amd64_pvt *pvt)
        }

        for (cs = 0; cs < pvt->num_dcsm; cs++) {
-               reg = K8_DCSB0 + (cs * 4);
+               reg = K8_DCSM0 + (cs * 4);
                err = pci_read_config_dword(pvt->dram_f2_ctl, reg,
                                        &pvt->dcsm0[cs]);
                if (unlikely(err))
-- 
1.4.4.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] amd64_edac: to read the right f2maskoffset reg
  2009-07-24 19:15 [PATCH] amd64_edac: to read the right f2maskoffset reg wan wei
@ 2009-07-27 12:54 ` Borislav Petkov
  0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2009-07-27 12:54 UTC (permalink / raw)
  To: wan wei; +Cc: dougthompson, linux-kernel

Hi,

On Sat, Jul 25, 2009 at 03:15:05AM +0800, wan wei wrote:
> Signed-off-by: Wan Wei<wanwei@mail.dawning.com.cn, onewayforever@gmail.com>

Nice catch, thanks. Applied.

P.S. Please use only one email address in your Signed-off-by. I'm going
to default to your sender email address.

> ---
>  drivers/edac/amd64_edac.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
> index 858fe60..24964c1 100644
> --- a/drivers/edac/amd64_edac.c
> +++ b/drivers/edac/amd64_edac.c
> @@ -970,7 +970,7 @@ static void amd64_read_dct_base_mask(struct amd64_pvt *pvt)
>         }
> 
>         for (cs = 0; cs < pvt->num_dcsm; cs++) {
> -               reg = K8_DCSB0 + (cs * 4);
> +               reg = K8_DCSM0 + (cs * 4);
>                 err = pci_read_config_dword(pvt->dram_f2_ctl, reg,
>                                         &pvt->dcsm0[cs]);
>                 if (unlikely(err))
> -- 
> 1.4.4.2
> 

-- 
Regards/Gruss,
Boris.

Operating | Advanced Micro Devices GmbH
  System  | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany
 Research | Geschäftsführer: Thomas M. McCoy, Giuliano Meroni
  Center  | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
  (OSRC)  | Registergericht München, HRB Nr. 43632


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-27 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-24 19:15 [PATCH] amd64_edac: to read the right f2maskoffset reg wan wei
2009-07-27 12:54 ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox