diff options
author | Michal Simek <michal.simek@xilinx.com> | 2018-10-12 07:43:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-15 16:16:06 +0200 |
commit | 59eaeba63a171127a90bb76187536ba66076af40 (patch) | |
tree | 9078a11d1a47315916fcb5a4ae835a97728b7572 /arch/m68k/Kconfig | |
parent | 7acf79b6b2160540af87f47a55d7e3e5637ddeb5 (diff) | |
download | linux-59eaeba63a171127a90bb76187536ba66076af40.tar.gz linux-59eaeba63a171127a90bb76187536ba66076af40.tar.bz2 linux-59eaeba63a171127a90bb76187536ba66076af40.zip |
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: b1078c355d76 ("of: base: Introduce of_alias_get_alias_list() to check alias IDs")
Fixes: ae1cca3fa347 ("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>
Diffstat (limited to 'arch/m68k/Kconfig')
0 files changed, 0 insertions, 0 deletions