Re: [PATCH v2] ARM: Add sanity check for dev->periphid in amba_probe()

From: Leizhen (ThunderTown)
Date: Tue Aug 30 2022 - 07:49:10 EST




On 2022/8/30 19:19, Linus Walleij wrote:
> On Tue, Aug 30, 2022 at 12:37 PM Russell King (Oracle)
> <linux@xxxxxxxxxxxxxxx> wrote:
>
>>> ... ...
>>> driver_probe_device(drv, dev);
>>> ......
>>> dev->bus->probe
>>
>> And that makes no sense, is an already known issue, and there is a patch
>> to fix it:
>>
>> https://lore.kernel.org/all/20220817184026.3468620-1-isaacmanjarres@xxxxxxxxxx/
>
> This patch to the driver core fixes my QEMU issue as well, I'll try
> to reply in-thread. Thanks for pointing this out Russell!

OK, so that my patch can be dropped.

>
> Yours,
> Linus Walleij
> .
>

--
Regards,
Zhen Lei