Skip to content

Commit 0e8a89d

Browse files
xwsongPeter Zijlstra
authored andcommitted
locking/lockdep: Correct the description error for check_redundant()
If there is no matched result, check_redundant() will return BFS_RNOMATCH. Signed-off-by: Xiongwei Song <sxwjean@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Boqun Feng <boqun.feng@gmail.com> Link: https://lkml.kernel.org/r/20210618130230.123249-1-sxwjean@me.com
1 parent bf22a69 commit 0e8a89d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/locking/lockdep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2829,7 +2829,7 @@ static inline bool usage_skip(struct lock_list *entry, void *mask)
28292829
* <target> or not. If it can, <src> -> <target> dependency is already
28302830
* in the graph.
28312831
*
2832-
* Return BFS_RMATCH if it does, or BFS_RMATCH if it does not, return BFS_E* if
2832+
* Return BFS_RMATCH if it does, or BFS_RNOMATCH if it does not, return BFS_E* if
28332833
* any error appears in the bfs search.
28342834
*/
28352835
static noinline enum bfs_result

0 commit comments

Comments
 (0)