From: Xiongwei Song Date: Fri, 18 Jun 2021 13:02:30 +0000 (+0800) Subject: locking/lockdep: Correct the description error for check_redundant() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0e8a89d49d45197770f2e57fb15f1bc9ded96eb0;p=linux.git 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 Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Boqun Feng Link: https://lkml.kernel.org/r/20210618130230.123249-1-sxwjean@me.com --- diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index 0584b2090084a..095c87f97a313 100644 --- a/kernel/locking/lockdep.c +++ b/kernel/locking/lockdep.c @@ -2829,7 +2829,7 @@ static inline bool usage_skip(struct lock_list *entry, void *mask) * or not. If it can, -> 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