Re: [PATCH net-next 5/5] net: stmmac: stm32: Use syscon_regmap_lookup_by_phandle_args

From: Krzysztof Kozlowski
Date: Mon Jan 13 2025 - 06:08:50 EST


On 13/01/2025 09:05, Yanteng Si wrote:
>> - dwmac->regmap = syscon_regmap_lookup_by_phandle(np, "st,syscon");
>> + dwmac->regmap = syscon_regmap_lookup_by_phandle_args(np, "st,syscon",
>> + 1, &dwmac->mode_reg);
> The network subsystem still requires that the length of
> each line of code should not exceed 80 characters.


Please read the coding style regarding this issue, before you nitpick
such things.

I see you send comments like:
WARNING: line length of 81 exceeds 80 columns

which is not really helpful. That's not the review aspect necessary to
point.

> So, let's silence the warning:
>
> WARNING: line length of 83 exceeds 80 columns
> #33: FILE: drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c:307:
> + &dwmac->intf_reg_off);

Unless networking maintainers tell me otherwise, I find my code more
readable thus it follows the coding style.

Best regards,
Krzysztof