[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <249902d2-5a03-4c9b-a7e8-61dcfa9b5029@linaro.org>
Date: Mon, 13 Jan 2025 12:08:34 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Yanteng Si <si.yanteng@...ux.dev>, MD Danish Anwar <danishanwar@...com>,
Roger Quadros <rogerq@...nel.org>, Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Jose Abreu <joabreu@...opsys.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>, Shawn Guo
<shawnguo@...nel.org>, Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>
Cc: linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
imx@...ts.linux.dev
Subject: Re: [PATCH net-next 5/5] net: stmmac: stm32: Use
syscon_regmap_lookup_by_phandle_args
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
Powered by blists - more mailing lists