[net-next,PATCH 2/2] net: stmmac: dwmac-stm32: update err status in case different of stm32mp13

Marek Vasut marex at denx.de
Thu Jun 27 08:08:34 PDT 2024


On 6/27/24 10:49 AM, Christophe Roullier wrote:
> Second parameter of syscfg property (mask) is mandatory for MP13 but
> optional for all other cases so need to re init err to 0 for this case
> to avoid parse issue.

What parse issue ? Please expand this part of the commit message.

Basically if this is not MP13, and the dev_dbg() is hit, the function 
should not return error code because for non-MP13 the missing syscfg 
phandle in DT is not considered an error. So reset err to 0 in that case 
to support existing DTs without syscfg phandle.

With the commit message updated:

Reviewed-by: Marek Vasut <marex at denx.de>

[...]



More information about the linux-arm-kernel mailing list