Messages in this thread Patch in this message | | | From | Hui Wang <> | Subject | [PATCH 3/3] edac: sb_edac: Fix a wrong value setting for the | Date | Mon, 6 Feb 2012 15:11:01 +0800 |
| |
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> --- 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 f84a515..178093f 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c @@ -757,7 +757,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; } /* -- 1.7.6
| |