Re: [PATCH] usb: dwc3: st: Rely on child's compatible instead of name

From: Patrice CHOTARD
Date: Fri Sep 30 2022 - 03:15:25 EST


Hi Greg

On 9/30/22 08:50, Greg Kroah-Hartman wrote:
> On Fri, Sep 30, 2022 at 08:44:06AM +0200, patrice.chotard@xxxxxxxxxxx wrote:
>> From: Patrice Chotard <patrice.chotard@xxxxxxxxxxx>
>>
>> To ensure that child node is found, don't rely on child's node name
>> which can take different value, but on child's compatible name.
>>
>> Cc: Jerome Audu <jerome.audu@xxxxxx>
>> Signed-off-by: Patrice Chotard <patrice.chotard@xxxxxxxxxxx>
>
> What commit id does this fix?

A fix has been already merged [1]
The goal of this patch is to hardened the child's check, but okay,
i will add a Fixes reference.

>
> Who reported the problem?

Ah, sorry, i forgot to add reported-by Felipe Balbi <felipe@xxxxxxxx>

Will send a v2

Thanks
Patrice

[1] https://patchwork.kernel.org/project/linux-arm-kernel/patch/20220926124359.304770-1-patrice.chotard@xxxxxxxxxxx

>
> thanks,
>
> greg k-h