Thread (3 messages) flat view 3 messages, 3 authors, 2007-10-19

Re: [PATCH] NULL terminate the pci_device_ids in pasemi_edac

From: Olof Johansson <hidden>
Date: 2007-10-19 06:40:56

On Fri, Oct 19, 2007 at 03:07:22PM +1000, Stephen Rothwell wrote:
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 <redacted>
Acked-by: Olof Johansson <redacted>

Thanks for fixing this, Stephen. ID lists without termination can really
cause weird problems at the most random times since it depends on how
the kernel is built whether they do any (immediate) harm or not.


-Olof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help