Commit 0e8a89d4 authored by Xiongwei Song's avatar Xiongwei Song Committed by Peter Zijlstra

locking/lockdep: Correct the description error for check_redundant()

If there is no matched result, check_redundant() will return BFS_RNOMATCH.
Signed-off-by: default avatarXiongwei Song <sxwjean@gmail.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarBoqun Feng <boqun.feng@gmail.com>
Link: https://lkml.kernel.org/r/20210618130230.123249-1-sxwjean@me.com
parent bf22a697
...@@ -2829,7 +2829,7 @@ static inline bool usage_skip(struct lock_list *entry, void *mask) ...@@ -2829,7 +2829,7 @@ static inline bool usage_skip(struct lock_list *entry, void *mask)
* <target> or not. If it can, <src> -> <target> dependency is already * <target> or not. If it can, <src> -> <target> dependency is already
* in the graph. * 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. * any error appears in the bfs search.
*/ */
static noinline enum bfs_result static noinline enum bfs_result
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment