Skip to content

Commit 6e6eca2

Browse files
committed
doc: Fix typo "deference" to "dereference"
Reported-by: Jens Axboe <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 17f0da1 commit 6e6eca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/RCU/lockdep-splat.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ With this change, the rcu_dereference() is always within an RCU
9999
read-side critical section, which again would have suppressed the
100100
above lockdep-RCU splat.
101101

102-
But in this particular case, we don't actually deference the pointer
102+
But in this particular case, we don't actually dereference the pointer
103103
returned from rcu_dereference(). Instead, that pointer is just compared
104104
to the cic pointer, which means that the rcu_dereference() can be replaced
105105
by rcu_access_pointer() as follows:

0 commit comments

Comments
 (0)