diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-24 15:12:28 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-24 15:31:50 +0200 |
commit | 3c52cc57ccd5c99441368d5e66be36681ce90e72 (patch) | |
tree | 1530857d511404da725e56e0943b6b722f84907e /arch/arm/mach-sa1100/lart.c | |
parent | i7core_edac: Avoid PCI refcount to reach zero on successive load/reload (diff) | |
download | linux-3c52cc57ccd5c99441368d5e66be36681ce90e72.tar.xz linux-3c52cc57ccd5c99441368d5e66be36681ce90e72.zip |
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 <mchehab@redhat.com>
Diffstat (limited to 'arch/arm/mach-sa1100/lart.c')
0 files changed, 0 insertions, 0 deletions