projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf22a69
)
locking/lockdep: Correct the description error for check_redundant()
author
Xiongwei Song
<sxwjean@gmail.com>
Fri, 18 Jun 2021 13:02:30 +0000
(21:02 +0800)
committer
Peter Zijlstra
<peterz@infradead.org>
Tue, 22 Jun 2021 14:42:09 +0000
(16:42 +0200)
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
kernel/locking/lockdep.c
patch
|
blob
|
history
diff --git
a/kernel/locking/lockdep.c
b/kernel/locking/lockdep.c
index 0584b2090084a09d295f70850bc246c0a4d6da47..095c87f97a3135ec3f952007d5dff7b7737a9d16 100644
(file)
--- 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_R
NO
MATCH if it does not, return BFS_E* if
* any error appears in the bfs search.
*/
static noinline enum bfs_result