commit | f58d0dee07fe6328f775669eb6aa3a123efad6c2 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jun 27 12:07:58 2012 +0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Jun 27 09:08:40 2012 -0300 |
tree | 1d330e6db0495cbe033d761feb3686a7de790dea | |
parent | 38ced28b21efff18fd5e5c98a92830e8f0031cee [diff] |
edac i5000, i5400: fix pointer math in i5000_get_mc_regs() "pvt->ambase" is a u64 datatype. The intent here is to fill the first half in the first call to pci_read_config_dword() and the other half in the second. Unfortunately the pointer math is wrong so we set the wrong data. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>