diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-10-19 02:41:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:56 -0400 |
commit | 1b3e4c706c19dec10b11dac1b23071e3e4b262ad (patch) | |
tree | d0d5dedadb63ea0f7bfce2fef4da03642c47fcc7 | |
parent | a39bc51691a0c8880b7d10fa7c2f034f3ba9a037 (diff) |
NULL terminate the pci_device_ids in pasemi_edac
Fixes:
drivers/edac/pasemi_edac: struct pci_device_id is 32 bytes. The last of 1 is:
0x00 0x00 0x19 0x59 0x00 0x00 0xa0 0x0a 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
FATAL: drivers/edac/pasemi_edac: struct pci_device_id is not terminated with a NULL entry!
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Douglas Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/edac/pasemi_edac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/pasemi_edac.c b/drivers/edac/pasemi_edac.c index e66cdd42a392..9007d0677220 100644 --- a/drivers/edac/pasemi_edac.c +++ b/drivers/edac/pasemi_edac.c | |||
@@ -270,6 +270,7 @@ static void __devexit pasemi_edac_remove(struct pci_dev *pdev) | |||
270 | 270 | ||
271 | static const struct pci_device_id pasemi_edac_pci_tbl[] = { | 271 | static const struct pci_device_id pasemi_edac_pci_tbl[] = { |
272 | { PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa00a) }, | 272 | { PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa00a) }, |
273 | { } | ||
273 | }; | 274 | }; |
274 | 275 | ||
275 | MODULE_DEVICE_TABLE(pci, pasemi_edac_pci_tbl); | 276 | MODULE_DEVICE_TABLE(pci, pasemi_edac_pci_tbl); |