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

2018-10-09 Thread Michal Simek
On 8.10.2018 17:07, Rob Herring wrote: > On Mon, Oct 8, 2018 at 7:19 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 allocat

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

2018-10-08 Thread Rob Herring
On Mon, Oct 8, 2018 at 7:19 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] of: base: Change logic in of_alias_get_alias_list()

2018-10-08 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.