Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Xiongwei Song and committed by
Peter Zijlstra
0e8a89d4 bf22a697

+1 -1
+1 -1
kernel/locking/lockdep.c
··· 2829 2829 * <target> or not. If it can, <src> -> <target> dependency is already 2830 2830 * in the graph. 2831 2831 * 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 2833 2833 * any error appears in the bfs search. 2834 2834 */ 2835 2835 static noinline enum bfs_result