Thread (2 messages) 2 messages, 2 authors, 2018-10-12

[PATCH v2] of: base: Change logic in of_alias_get_alias_list()

From: robh+dt@kernel.org (Rob Herring)
Date: 2018-10-12 19:29:12
Also in: linux-devicetree, linux-serial, lkml

On Fri, Oct 12, 2018 at 12:43 AM Michal Simek [off-list ref] wrote:
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 <redacted>
---

Changes in v2:
 - Use EOVERFLOW instead of EINVAL - Rob
Reviewed-by: Rob Herring <robh@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help