diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-05 09:34:37 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-05 09:34:37 -0700 |
commit | b70936d9ffbf0f45f4fa13a03122f015f13ecdb0 (patch) | |
tree | bee2093dbf243539630250eb3db703de6d8c6f4b /net/dns_resolver/dns_key.c | |
parent | ee98581f624a6ce0f17706d7ff2a161aacfb977a (diff) |
tty: serial: sccnxp: Fix bug with unterminated platform_id list
The build even tells you that this is a bad thing:
drivers/tty/serial/sccnxp: struct platform_device_id is 32 bytes. The
last of 8 is:
0x73 0x63 0x36 0x38 0x36 0x39 0x32 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x54 0x0c 0x01 0x00
0x00 0x00 0x00 0x00
FATAL: drivers/tty/serial/sccnxp: struct platform_device_id is not
terminated with a NULL entry!
So fix this problem up before someone oopses their box when loading the
driver, as this breaks the build.
Cc: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/dns_resolver/dns_key.c')
0 files changed, 0 insertions, 0 deletions