From: Dan Carpenter Date: Wed, 27 Jun 2012 09:07:58 +0000 (+0300) Subject: edac i5000, i5400: fix pointer math in i5000_get_mc_regs() X-Git-Tag: v3.6-rc1~62^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f58d0dee07fe6328f775669eb6aa3a123efad6c2;p=pandora-kernel.git 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed