Repository navigation
Commit 59eaeba
of: base: Change logic in of_alias_get_alias_list()
Check compatible string first before setting up bit in bitmap to also
cover cases that allocated bitfield is not big enough.
Show warning about it but let driver to continue to work with allocated
bitfield to keep at least some devices (included console which
is commonly close to serial0) to work.
Fixes: b1078c3 ("of: base: Introduce of_alias_get_alias_list() to check alias IDs")
Fixes: ae1cca3 ("serial: uartps: Change uart ID port allocation")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 7acf79b commit 59eaeba
2 files changed
Lines changed: 13 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1953 | 1953 | | |
1954 | 1954 | | |
1955 | 1955 | | |
1956 | | - | |
| 1956 | + | |
| 1957 | + | |
1957 | 1958 | | |
1958 | 1959 | | |
1959 | 1960 | | |
1960 | 1961 | | |
1961 | 1962 | | |
1962 | 1963 | | |
| 1964 | + | |
1963 | 1965 | | |
1964 | 1966 | | |
1965 | 1967 | | |
| |||
1976 | 1978 | | |
1977 | 1979 | | |
1978 | 1980 | | |
1979 | | - | |
1980 | | - | |
1981 | | - | |
1982 | | - | |
1983 | | - | |
1984 | | - | |
1985 | 1981 | | |
1986 | 1982 | | |
1987 | | - | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
1988 | 1991 | | |
1989 | | - | |
1990 | 1992 | | |
1991 | 1993 | | |
1992 | 1994 | | |
1993 | | - | |
| 1995 | + | |
1994 | 1996 | | |
1995 | 1997 | | |
1996 | 1998 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1394 | 1394 | | |
1395 | 1395 | | |
1396 | 1396 | | |
1397 | | - | |
| 1397 | + | |
1398 | 1398 | | |
1399 | 1399 | | |
1400 | 1400 | | |
| |||
0 commit comments