Skip to content

Commit cfb07b0

Browse files
paulmckrcuurezki
authored andcommitted
srcu: Fix typo s/srcu_check_read_flavor()/__srcu_check_read_flavor()/
This commit fixes a typo in which a comment needed to have been updated from srcu_check_read_flavor() to __srcu_check_read_flavor(). Reported-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com> Closes: https://lore.kernel.org/all/b75d1fcd-6fcd-4619-bb5c-507fa599ee28@amd.com/ Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
1 parent d465492 commit cfb07b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/srcutree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ static inline void srcu_check_read_flavor_lite(struct srcu_struct *ssp)
258258
if (likely(READ_ONCE(sdp->srcu_reader_flavor) & SRCU_READ_FLAVOR_LITE))
259259
return;
260260

261-
// Note that the cmpxchg() in srcu_check_read_flavor() is fully ordered.
261+
// Note that the cmpxchg() in __srcu_check_read_flavor() is fully ordered.
262262
__srcu_check_read_flavor(ssp, SRCU_READ_FLAVOR_LITE);
263263
}
264264

0 commit comments

Comments
 (0)