summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiongwei Song <sxwjean@gmail.com>2021-06-18 21:02:30 +0800
committerPeter Zijlstra <peterz@infradead.org>2021-06-22 16:42:09 +0200
commit0e8a89d49d45197770f2e57fb15f1bc9ded96eb0 (patch)
tree11bc19bd79bf53f1067b796eb347f7adf7306145
parentbf22a6976897977b0a3f1aeba6823c959fc4fdae (diff)
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
-rw-r--r--kernel/locking/lockdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index 0584b2090084..095c87f97a31 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)
* <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