aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2023-04-17 19:04:49 +0000
committerVlastimil Babka <[email protected]>2023-06-08 09:13:25 +0200
commit9ca73f2645706230249c4ec2a2b0cab9515987c8 (patch)
tree8fba1f5301f9339dcc9ae06e38dc08eea6f6ad1d
parentb9dad156af1fd6c66ffa40f007c09823a8319abe (diff)
mm/slab: add a missing semicolon on SLAB_TYPESAFE_BY_RCU example code
An example code snippet for SLAB_TYPESAFE_BY_RCU is missing a semicolon. Add it. Signed-off-by: SeongJae Park <[email protected]> Reviewed-by: Paul E. McKenney <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]>
-rw-r--r--include/linux/slab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h
index 6b3e155b70bf..5eeedbfffcd2 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -53,7 +53,7 @@
* stays valid, the trick to using this is relying on an independent
* object validation pass. Something like:
*
- * rcu_read_lock()
+ * rcu_read_lock();
* again:
* obj = lockless_lookup(key);
* if (obj) {