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

Leizhen (ThunderTown) thunder.leizhen at huawei.com
Tue Aug 30 04:49:02 PDT 2022



On 2022/8/30 19:19, Linus Walleij wrote:
> On Tue, Aug 30, 2022 at 12:37 PM Russell King (Oracle)
> <linux at armlinux.org.uk> 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@google.com/
> 
> 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



More information about the linux-arm-kernel mailing list