Commit 6e6eca2e authored by Paul E. McKenney's avatar Paul E. McKenney

doc: Fix typo "deference" to "dereference"

Reported-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 17f0da13
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment