]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
srcu: Fix typo s/srcu_check_read_flavor()/__srcu_check_read_flavor()/
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 13 Nov 2024 00:53:53 +0000 (16:53 -0800)
committerUladzislau Rezki (Sony) <urezki@gmail.com>
Sat, 14 Dec 2024 16:13:18 +0000 (17:13 +0100)
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>
include/linux/srcutree.h

index 490aeecc6bb478f3e1a38e89edbb656caafd4227..4e69f88bcab9f5605bd4448c51718abfcc96a9cb 100644 (file)
@@ -258,7 +258,7 @@ static inline void srcu_check_read_flavor_lite(struct srcu_struct *ssp)
        if (likely(READ_ONCE(sdp->srcu_reader_flavor) & SRCU_READ_FLAVOR_LITE))
                return;
 
-       // Note that the cmpxchg() in srcu_check_read_flavor() is fully ordered.
+       // Note that the cmpxchg() in __srcu_check_read_flavor() is fully ordered.
        __srcu_check_read_flavor(ssp, SRCU_READ_FLAVOR_LITE);
 }