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

2018-10-12 Thread Rob Herring
On Fri, Oct 12, 2018 at 12:43 AM Michal Simek 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

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

2018-10-11 Thread Michal Simek
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.