Thread (150 messages) flat view 150 messages, 4 authors, 2015-01-15
STALE4256d

[PATCH 3.18 095/150] tty: serial: men_z135_uart: Add terminating entry for men_z135_ids

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2015-01-14 08:26:03
Also in: lkml

3.18-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Axel Lin <redacted>

commit 6b1f40cf4840820051d69646af0b6503878cb1bc upstream.

The mcb_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <redacted>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/tty/serial/men_z135_uart.c |    1 +
 1 file changed, 1 insertion(+)
--- a/drivers/tty/serial/men_z135_uart.c
+++ b/drivers/tty/serial/men_z135_uart.c
@@ -809,6 +809,7 @@ static void men_z135_remove(struct mcb_d
 
 static const struct mcb_device_id men_z135_ids[] = {
 	{ .device = 0x87 },
+	{ }
 };
 MODULE_DEVICE_TABLE(mcb, men_z135_ids);
 

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