projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9dad15
)
mm/slab: add a missing semicolon on SLAB_TYPESAFE_BY_RCU example code
author
SeongJae Park
<sj@kernel.org>
Mon, 17 Apr 2023 19:04:49 +0000
(19:04 +0000)
committer
Vlastimil Babka
<vbabka@suse.cz>
Thu, 8 Jun 2023 07:13:25 +0000
(09:13 +0200)
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>
include/linux/slab.h
patch
|
blob
|
history
diff --git
a/include/linux/slab.h
b/include/linux/slab.h
index 6b3e155b70bfc177f0ea9856aa029acbf7512486..5eeedbfffcd29d3ded032b2b2ea46eb1cab14a36 100644
(file)
--- 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) {