]> git.baikalelectronics.ru Git - kernel.git/commit
NULL terminate the pci_device_ids in pasemi_edac
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 19 Oct 2007 06:41:11 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:56 +0000 (11:53 -0700)
commit9589bb59fcdc78501ccfc39fd232b57d0718afa7
treed0d5dedadb63ea0f7bfce2fef4da03642c47fcc7
parentd3ba3a2f3840c8b0c7a145c6bd510169b64f05df
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>
drivers/edac/pasemi_edac.c