amd64_edac: Ensure index stays within bounds in amd64_get_scrub_rate
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 11 Jan 2010 19:58:21 +0000 (20:58 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Fri, 15 Jan 2010 09:45:58 +0000 (10:45 +0100)
commit926311fd7dabcd284a1e8a87a3e2bb5f929c0c60
tree359f6f98944e3ec6870aa6f0bb9a9cef43872005
parent7284ce6c9f6153d1777df5f310c959724d1bd446
amd64_edac: Ensure index stays within bounds in amd64_get_scrub_rate

Add a missing iterator variable thus fixing the conditional of the
for-loop in amd64_get_scrub_rate().

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c