diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2019-11-13 09:12:59 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2019-12-10 18:51:54 -0800 |
commit | 6e6eca2ee79a23329093cdf8d1cc0bd86128981f (patch) | |
tree | 082822caf68cc982768bd3cd8385710864f0446e | |
parent | 17f0da13873ba393a72f14d41ffc8ff388e38723 (diff) | |
download | linux-6e6eca2ee79a23329093cdf8d1cc0bd86128981f.tar.bz2 |
doc: Fix typo "deference" to "dereference"
Reported-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r-- | Documentation/RCU/lockdep-splat.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/RCU/lockdep-splat.txt b/Documentation/RCU/lockdep-splat.txt index 9c015976b174..b8096316fd11 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: |