locking/rwsem: drop redundant semicolon of down_write_nest_lock
PATCH 1/1 locking/rwsem: drop redundant semicolon of down_write_nest_lock
Otherwise, braces are needed when using it.
Signed-off-by Guchun Chen <[email protected]>
--- include/linux/rwsem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/rwsem.h +1 -1
@@ -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.
Signature · 1 line
2.17.1
Am 14.01.22 um 09:37 schrieb Guchun Chen:
Quoted 3 lines
Otherwise, braces are needed when using it.
Signed-off-by Guchun Chen <[email protected]>
Acked-by Christian König <[email protected]>
Peter any objections that we push this upstream through the drm subsystem?
Thanks,
Christian.
Quoted 17 lines
--- include/linux/rwsem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/rwsem.h +1
-1@@ -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.
Quoted 8 lines · Christian König
Am 14.01.22 um 09:37 schrieb Guchun Chen:
Quoted 3 lines
Otherwise, braces are needed when using it.
Signed-off-by Guchun Chen <[email protected]>Acked-by Christian König <[email protected]>Peter any objections that we push this upstream through the drm subsystem?
Nah, take it.