Repository navigation
Commit 7328735
committed
ktest: Remove indexes from warnings check
The index of a line where a warning is tested can be returned
differently on different versions of gcc (or same version compiled
differently). That is, a tab + space can give different results. This
causes the warning check to produce a false positive. Removing the
index from the check fixes this issue.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>1 parent 4c0b67a commit 7328735
1 file changed
Lines changed: 26 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1945 | 1945 | | |
1946 | 1946 | | |
1947 | 1947 | | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
1948 | 1969 | | |
1949 | 1970 | | |
1950 | 1971 | | |
| |||
1965 | 1986 | | |
1966 | 1987 | | |
1967 | 1988 | | |
1968 | | - | |
1969 | | - | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
1970 | 1992 | | |
1971 | 1993 | | |
1972 | 1994 | | |
| |||
1978 | 2000 | | |
1979 | 2001 | | |
1980 | 2002 | | |
| 2003 | + | |
1981 | 2004 | | |
1982 | | - | |
1983 | | - | |
1984 | | - | |
1985 | | - | |
1986 | | - | |
1987 | | - | |
| 2005 | + | |
1988 | 2006 | | |
1989 | 2007 | | |
1990 | 2008 | | |
| |||
0 commit comments