]> git.baikalelectronics.ru Git - kernel.git/commit
synclink fix ldisc buffer argument
authorPaul Fulghum <paulkf@microgate.com>
Mon, 3 Dec 2012 17:13:24 +0000 (11:13 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 05:52:23 +0000 (21:52 -0800)
commitd1bb3cba1d834ef936373b629a42bce1e1298402
tree0570429793adb5fba1a3a1f24ee5d669d92c8daa
parent2b0a8492dddc005fce8c659a8f2c949fcfc81cd1
synclink fix ldisc buffer argument

Fix call to line discipline receive_buf by synclink drivers.
Dummy flag buffer argument is ignored by N_HDLC line discipline but might
be of insufficient size if accessed by a different line discipline
selected by mistake. flag buffer allocation now matches max size of data
buffer. Unused char_buf buffers are removed.

Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/pcmcia/synclink_cs.c
drivers/tty/synclink.c
drivers/tty/synclink_gt.c
drivers/tty/synclinkmp.c