Re: [PATCH] spi: fix bogus SPI bus number

2017-10-17 Thread Mark Brown
On Tue, Oct 17, 2017 at 12:44:50PM +0200, Arnd Bergmann wrote: > lkft found a boot time regression on the Hikey board that has no > aliases entry for spi buses. of_alias_get_highest_id() here > returns -ENODEV, which is then used as the initial number for the > IDR allocation, and that in turn trig

Re: [PATCH] spi: fix bogus SPI bus number

2017-10-17 Thread Lucas Stach
Am Dienstag, den 17.10.2017, 12:44 +0200 schrieb Arnd Bergmann: > lkft found a boot time regression on the Hikey board that has no > aliases entry for spi buses. of_alias_get_highest_id() here > returns -ENODEV, which is then used as the initial number for the > IDR allocation, and that in turn tri

[PATCH] spi: fix bogus SPI bus number

2017-10-17 Thread Arnd Bergmann
lkft found a boot time regression on the Hikey board that has no aliases entry for spi buses. of_alias_get_highest_id() here returns -ENODEV, which is then used as the initial number for the IDR allocation, and that in turn triggers a WARN_ON: WARNING: CPU: 3 PID: 53 at include/linux/idr.h:113 sp