diff options
author | Hui Wang <jason77.wang@gmail.com> | 2012-02-06 04:11:01 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-21 15:20:11 -0300 |
commit | 7fae0db43906ef182b3aee22415c9042ab18d6e6 (patch) | |
tree | 1d0156d8f90cc00a95969bc40c178366d87c5757 /drivers/edac/sb_edac.c | |
parent | ad9c40b7dd749d6429c8b21178c125004c6dc75d (diff) | |
download | linux-stable-7fae0db43906ef182b3aee22415c9042ab18d6e6.tar.gz linux-stable-7fae0db43906ef182b3aee22415c9042ab18d6e6.tar.bz2 linux-stable-7fae0db43906ef182b3aee22415c9042ab18d6e6.zip |
edac: sb_edac: Fix a wrong value setting for the previous value
>From the driver design, the variable limit wants to compare with its
previous value, we should set the value of limit instead of the value
of tmp_mb to the variable prev.
Signed-off-by: Hui Wang <jason77.wang@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/sb_edac.c')
-rw-r--r-- | drivers/edac/sb_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index 843545beba64..291788798b6f 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c @@ -763,7 +763,7 @@ static void get_memory_layout(const struct mem_ctl_info *mci) (u32)TAD_TGT2(reg), (u32)TAD_TGT3(reg), reg); - prv = tmp_mb; + prv = limit; } /* |