提交 b6e2b3e1 编写于 作者: M Mihaela Muraru 提交者: Greg Kroah-Hartman

staging: speakup: Fix comment block coding style

This is a patch to the spk_ttyio.c file that fix up a comment block
warninig, found by checkpatch.pl tool, by adding */ on a separte line.

WARNING: Block comments use a trailing */ on a separate line
Signed-off-by: NMihaela Muraru <mihaela.muraru21@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 b5a603de
...@@ -88,7 +88,8 @@ static int spk_ttyio_receive_buf2(struct tty_struct *tty, ...@@ -88,7 +88,8 @@ static int spk_ttyio_receive_buf2(struct tty_struct *tty,
return 0; return 0;
/* Make sure the consumer has read buf before we have seen /* Make sure the consumer has read buf before we have seen
* buf_free == true and overwrite buf */ * buf_free == true and overwrite buf
*/
mb(); mb();
ldisc_data->buf = cp[0]; ldisc_data->buf = cp[0];
...@@ -274,7 +275,8 @@ static unsigned char ttyio_in(int timeout) ...@@ -274,7 +275,8 @@ static unsigned char ttyio_in(int timeout)
rv = ldisc_data->buf; rv = ldisc_data->buf;
/* Make sure we have read buf before we set buf_free to let /* Make sure we have read buf before we set buf_free to let
* the producer overwrite it */ * the producer overwrite it
*/
mb(); mb();
ldisc_data->buf_free = true; ldisc_data->buf_free = true;
/* Let TTY push more characters */ /* Let TTY push more characters */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册