[PATCH] llist: Make locking comments consistent

Philipp Stanner posted 1 patch 1 month, 1 week ago
include/linux/llist.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] llist: Make locking comments consistent
Posted by Philipp Stanner 1 month, 1 week ago
llist's locking requirement table has a legend which claims that all
operations not needing a lock a marked with '-', whereas in truth for
some table entries just a whitespace is used.

Add the '-' to all appropriate places.

Signed-off-by: Philipp Stanner <phasta@kernel.org>
---
 include/linux/llist.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/llist.h b/include/linux/llist.h
index 607b2360c938..8846b7709669 100644
--- a/include/linux/llist.h
+++ b/include/linux/llist.h
@@ -26,8 +26,8 @@
  *
  *           |   add    | del_first |  del_all
  * add       |    -     |     -     |     -
- * del_first |          |     L     |     L
- * del_all   |          |           |     -
+ * del_first |    -     |     L     |     L
+ * del_all   |    -     |     -     |     -
  *
  * Where, a particular row's operation can happen concurrently with a column's
  * operation, with "-" being no lock needed, while "L" being lock is needed.
-- 
2.49.0