[tip: core/rcu] doc: Fix typo "deference" to "dereference"
From: tip-bot2 for Paul E. McKenney
Date: Sat Jan 25 2020 - 05:45:43 EST
The following commit has been merged into the core/rcu branch of tip:
Commit-ID: 6e6eca2ee79a23329093cdf8d1cc0bd86128981f
Gitweb: https://git.kernel.org/tip/6e6eca2ee79a23329093cdf8d1cc0bd86128981f
Author: Paul E. McKenney <paulmck@xxxxxxxxxx>
AuthorDate: Wed, 13 Nov 2019 09:12:59 -08:00
Committer: Paul E. McKenney <paulmck@xxxxxxxxxx>
CommitterDate: Tue, 10 Dec 2019 18:51:54 -08:00
doc: Fix typo "deference" to "dereference"
Reported-by: Jens Axboe <axboe@xxxxxxxxx>
Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
---
Documentation/RCU/lockdep-splat.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/RCU/lockdep-splat.txt b/Documentation/RCU/lockdep-splat.txt
index 9c01597..b809631 100644
--- a/Documentation/RCU/lockdep-splat.txt
+++ b/Documentation/RCU/lockdep-splat.txt
@@ -99,7 +99,7 @@ With this change, the rcu_dereference() is always within an RCU
read-side critical section, which again would have suppressed the
above lockdep-RCU splat.
-But in this particular case, we don't actually deference the pointer
+But in this particular case, we don't actually dereference the pointer
returned from rcu_dereference(). Instead, that pointer is just compared
to the cic pointer, which means that the rcu_dereference() can be replaced
by rcu_access_pointer() as follows: