提交 d72d84ae 编写于 作者: G Guchun Chen 提交者: Christian König

locking/rwsem: drop redundant semicolon of down_write_nest_lock

Otherwise, braces are needed when using it.
Signed-off-by: NGuchun Chen <guchun.chen@amd.com>
Acked-by: NChristian König <christian.koenig@amd.com>
Acked-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220114083742.6219-1-guchun.chen@amd.comSigned-off-by: NChristian König <christian.koenig@amd.com>
上级 93e97b05
...@@ -230,7 +230,7 @@ extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map * ...@@ -230,7 +230,7 @@ extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *
do { \ do { \
typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
_down_write_nest_lock(sem, &(nest_lock)->dep_map); \ _down_write_nest_lock(sem, &(nest_lock)->dep_map); \
} while (0); } while (0)
/* /*
* Take/release a lock when not the owner will release it. * Take/release a lock when not the owner will release it.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册