projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93e97b0
)
locking/rwsem: drop redundant semicolon of down_write_nest_lock
author
Guchun Chen
<guchun.chen@amd.com>
Fri, 14 Jan 2022 08:37:42 +0000
(16:37 +0800)
committer
Christian König
<christian.koenig@amd.com>
Fri, 14 Jan 2022 10:08:37 +0000
(11:08 +0100)
Otherwise, braces are needed when using it.
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/20220114083742.6219-1-guchun.chen@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
include/linux/rwsem.h
patch
|
blob
|
history
diff --git
a/include/linux/rwsem.h
b/include/linux/rwsem.h
index
f934876
..
efa5c32
100644
(file)
--- a/
include/linux/rwsem.h
+++ b/
include/linux/rwsem.h
@@
-230,7
+230,7
@@
extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *
do { \
typecheck(struct lockdep_map *, &(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.