Skip to content

Commit 9ca73f2

Browse files
sjp38tehcaster
authored andcommitted
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 <sj@kernel.org> Reviewed-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
1 parent b9dad15 commit 9ca73f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/slab.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* stays valid, the trick to using this is relying on an independent
5454
* object validation pass. Something like:
5555
*
56-
* rcu_read_lock()
56+
* rcu_read_lock();
5757
* again:
5858
* obj = lockless_lookup(key);
5959
* if (obj) {

0 commit comments

Comments
 (0)