From: Mauro Carvalho Chehab Date: Sun, 24 Oct 2010 13:12:28 +0000 (-0200) Subject: i7core_edac: properly terminate pci_dev_table X-Git-Tag: v2.6.37-rc1~108^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c52cc57ccd5c99441368d5e66be36681ce90e72;p=pandora-kernel.git i7core_edac: properly terminate pci_dev_table At pci_xeon_fixup(), it waits for a null-terminated table, while at i7core_get_all_devices, it just do a for 0..ARRAY_SIZE. As other tables are zero-terminated, change it to be terminate with 0 as well, and fixes a bug where it may be running out of the table elements. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed