]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: speakup: Fix comment block coding style
authorMihaela Muraru <mihaela.muraru21@gmail.com>
Wed, 27 Sep 2017 07:43:45 +0000 (00:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Sep 2017 09:25:26 +0000 (11:25 +0200)
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: Mihaela Muraru <mihaela.muraru21@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/spk_ttyio.c

index a6330e2cb162888b509cdb2083bcb5f2d1c508b8..513cebbd161c6611dcd393aee848f600ca36ac1f 100644 (file)
@@ -88,7 +88,8 @@ static int spk_ttyio_receive_buf2(struct tty_struct *tty,
                return 0;
 
        /* Make sure the consumer has read buf before we have seen
-        * buf_free == true and overwrite buf */
+        * buf_free == true and overwrite buf
+        */
        mb();
 
        ldisc_data->buf = cp[0];
@@ -274,7 +275,8 @@ static unsigned char ttyio_in(int timeout)
 
        rv = ldisc_data->buf;
        /* Make sure we have read buf before we set buf_free to let
-        * the producer overwrite it */
+        * the producer overwrite it
+        */
        mb();
        ldisc_data->buf_free = true;
        /* Let TTY push more characters */