llist: Make locking comments consistent
PATCH 1/1 llist: Make locking comments consistent
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 <[email protected]>
--- include/linux/llist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/llist.h +2 -2
@@ -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.
Signature · 1 line
2.49.0