Skip to content

Commit

Permalink
NULL terminate the pci_device_ids in pasemi_edac
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Douglas Thompson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
sfrothwell authored and Linus Torvalds committed Oct 19, 2007
1 parent a39bc51 commit 1b3e4c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/edac/pasemi_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ static void __devexit pasemi_edac_remove(struct pci_dev *pdev)

static const struct pci_device_id pasemi_edac_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa00a) },
{ }
};

MODULE_DEVICE_TABLE(pci, pasemi_edac_pci_tbl);
Expand Down

0 comments on commit 1b3e4c7

Please sign in to comment.