locking/lockdep: correct the description error for check_redundant()
PATCH 1/1 locking/lockdep: correct the description error for check_redundant()
From: Xiongwei Song <[email protected]>
If there is no matched result, check_redundant() will return BFS_RNOMATCH.
--- kernel/locking/lockdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/locking/lockdep.c +1 -1
@@ -2726,7 +2726,7 @@ static inline bool usage_skip(struct lock_list *entry, void *mask)* <target> or not. If it can, <src> -> <target> dependency is already * in the graph. * -* Return BFS_RMATCH if it does, or BFS_RMATCH if it does not, return BFS_E* if +* Return BFS_RMATCH if it does, or BFS_RNOMATCH if it does not, return BFS_E* if * any error appears in the bfs search. */ static noinline enum bfs_result
Signature · 1 line
2.30.2
Quoted 5 lines · Xiongwei Song
From: Xiongwei Song <[email protected]>
If there is no matched result,
check_redundant()will returnBFS_RNOMATCH.Signed-off-by Xiongwei Song <[email protected]>
Good catch!
Nit: you may want to capitalize the first letter after subsystem tag in the patch title, like:
"locking/lockdep: Correct ..."
Regards,
Boqun
Quoted 20 lines
--- kernel/locking/lockdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/locking/lockdep.c +1
-1@@ -2726,7 +2726,7 @@ static inline bool usage_skip(struct lock_list *entry, void *mask)* <target> or not. If it can, <src> -> <target> dependency is already * in the graph. * -* Return BFS_RMATCH if it does, or BFS_RMATCH if it does not, return BFS_E* if +* Return BFS_RMATCH if it does, or BFS_RNOMATCH if it does not, return BFS_E* if * any error appears in the bfs search. */ static noinline enum bfs_resultSignature · 1 line
2.30.2
Quoted 6 lines · Boqun Feng
Quoted 4 lines · Xiongwei Song
From: Xiongwei Song <[email protected]>
If there is no matched result,
check_redundant()will returnBFS_RNOMATCH.
Quoted 8 lines
Quoted 1 line
Signed-off-by Xiongwei Song <[email protected]>Good catch!
Nit: you may want to capitalize the first letter after subsystem tag in the patch title, like:
"locking/lockdep: Correct ..."
Ok. Will update the patch.
Quoted 2 lines
Reviewed-by Boqun Feng <[email protected]>
Thank you.
Regards,
Xiongwei
Quoted 24 lines
Regards,
BoqunQuoted 20 lines
--- kernel/locking/lockdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/locking/lockdep.c +1
-2@@ -2726,7 +2726,7 @@ static inline bool usage_skip(struct lock_list *entry, void *mask)* <target> or not. If it can, <src> -> <target> dependency is already * in the graph. * -* Return BFS_RMATCH if it does, or BFS_RMATCH if it does not, return BFS_E* if +* Return BFS_RMATCH if it does, or BFS_RNOMATCH if it does not, return BFS_E* if * any error appears in the bfs search. */ static noinline enum bfs_result --2.30.2