Messages in this thread | | | Date | Wed, 05 Dec 2012 09:35:11 +0800 | From | Chen Gang <> | Subject | Re: [PATCH] synclink fix ldisc buffer argument |
| |
于 2012年12月04日 01:13, Paul Fulghum 写道: > 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> >
thank you very much.
might we use macro instead of hard code number ? (such as 4096, 65535). it is only an idea, not means need regression.
thanks.
-- Chen Gang
Asianux Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |