Skip to contentSkip to conversation

kfifo: fix comment

PATCH New Valentin Vidic 1 participant 1 message Mar 24, 2018 Kfifo

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kfifo: fix comment

Cleanup unusual formatting in the note about locking.

---
 include/linux/kfifo.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
include/linux/kfifo.h +4 -4
index e251533a5939..89fc8dc7bf38 100644
@@ -41,11 +41,11 @@
  */
 
 /*
- * 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
- *  kfifo_reset_out() can be safely used, until it will be only called
+ * 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.
+ * kfifo_reset_out() can be safely used, until it will be only called
  * 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.
  * And vice versa for only one writer and multiple reader there is only a need
  * to lock the reader.
  */
Signature · 1 line
2.16.2