Commit 6e7ad1a
driver core: fw_devlink: Improve logs for cycle detection
The links in a cycle are not all logged in a consistent manner or not
logged at all. Make them consistent by adding a "cycle:" string and log all
the link in the cycles (even the child ==> parent dependency) so that it's
easier to debug cycle detection code. Also, mark the start and end of a
cycle so it's easy to tell when multiple cycles are logged back to back.
Signed-off-by: Saravana Kannan <saravanak@google.com>
Tested-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20240202095636.868578-4-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 6442d79 commit 6e7ad1a
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
1945 | 1945 | | |
1946 | 1946 | | |
1947 | 1947 | | |
| 1948 | + | |
1948 | 1949 | | |
1949 | 1950 | | |
1950 | 1951 | | |
| |||
1976 | 1977 | | |
1977 | 1978 | | |
1978 | 1979 | | |
1979 | | - | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
1980 | 1983 | | |
| 1984 | + | |
1981 | 1985 | | |
1982 | 1986 | | |
1983 | 1987 | | |
| |||
1993 | 1997 | | |
1994 | 1998 | | |
1995 | 1999 | | |
| 2000 | + | |
| 2001 | + | |
1996 | 2002 | | |
1997 | 2003 | | |
1998 | 2004 | | |
| |||
2072 | 2078 | | |
2073 | 2079 | | |
2074 | 2080 | | |
| 2081 | + | |
2075 | 2082 | | |
2076 | 2083 | | |
2077 | 2084 | | |
| |||
0 commit comments