Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de99626c authored by Valentin Vidic's avatar Valentin Vidic Committed by Linus Torvalds
Browse files

include/linux/kfifo.h: fix comment

Clean up unusual formatting in the note about locking.

Link: http://lkml.kernel.org/r/20180324002630.13046-1-Valentin.Vidic@CARNet.hr


Signed-off-by: default avatarValentin Vidic <Valentin.Vidic@CARNet.hr>
Cc: Stefani Seibold <stefani@seibold.net>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Sean Young <sean@mess.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a61fc2cb
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -41,8 +41,8 @@
 */
 */


/*
/*
 * Note about locking : There is no locking required until only * one reader
 * Note about locking: There is no locking required until only one reader
 * and one writer is using the fifo and no kfifo_reset() will be * called
 * and one writer is using the fifo and no kfifo_reset() will be called.
 * kfifo_reset_out() can be safely used, until it will be only called
 * kfifo_reset_out() can be safely used, until it will be only called
 * in the reader thread.
 * in the reader thread.
 * For multiple writer and one reader there is only a need to lock the writer.
 * For multiple writer and one reader there is only a need to lock the writer.