From: netdev-bot+sashiko@kernel.org
To: krzysztof.kozlowski@oss.qualcomm.com
Cc: robin.clark@oss.qualcomm.com, lumag@kernel.org,
abhinav.kumar@linux.dev, jesszhan0024@gmail.com, sean@poorly.run,
marijn.suijten@somainline.org, airlied@gmail.com,
simona@ffwll.ch, maarten.lankhorst@linux.intel.com,
mripard@kernel.org, tzimmermann@suse.de, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
justin.chen@broadcom.com, florian.fainelli@broadcom.com,
andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, ulli.kroll@googlemail.com,
linusw@kernel.org, clement.leger@bootlin.com, olteanv@gmail.com,
hkallweit1@gmail.com, linux@armlinux.org.uk,
hayashi.kunihiko@socionext.com, mhiramat@kernel.org,
nbd@nbd.name, lorenzo@kernel.org, ryder.lee@mediatek.com,
shayne.chen@mediatek.com, sean.wang@mediatek.com,
johannes@sipsolutions.net, matthias.bgg@gmail.com,
angelogioacchino.delregno@collabora.com, jjohnson@kernel.org,
richardcochran@gmail.com, geert+renesas@glider.be,
magnus.damm@gmail.com, yongxing.mou@oss.qualcomm.com,
rfoss@kernel.org, abelvesa@kernel.org,
vineetha.g.jaya.kumaran@intel.com, claudiu.manoil@nxp.com,
alexandre.belloni@bootlin.com, elder@kernel.org,
s-vadapalli@ti.com, rogerq@kernel.org,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
bcm-kernel-feedback-list@broadcom.com, netdev@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-renesas-soc@vger.kernel.org,
linux-wireless@vger.kernel.org,
linux-mediatek@lists.infradead.org, ath10k@lists.infradead.org
Subject: Re: [PATCH net-next] dt-bindings: net: Use consistent indentation in the example
Date: Mon, 14 Sep 2026 12:50:22 +0000 [thread overview]
Message-ID: <178939022208.22033.14553895731937911806@kernel.org> (raw)
In-Reply-To: <20260913122910.99457-3-krzysztof.kozlowski@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue(s) to consider:
Critical: 0 · High: 0 · Medium: 1 · Low: 0
- [Medium] In Documentation/devicetree/bindings/net/cortina,gemini-
ethernet.yaml the patch does more than re-indent: it deletes the whole…
--
dt-bindings: net: Use consistent indentation in the example
This reindents the DT binding examples under Documentation/devicetree/
bindings/net/ to consistent 2- or 4-space indentation so that
dt-check-style stops reporting "indent mismatch" warnings. Twelve
binding files are touched.
> diff --git a/Documentation/devicetree/bindings/net/cortina,gemini-ethernet.yaml b/Documentation/devicetree/bindings/net/cortina,gemini-ethernet.yaml
> index f0b5bea2458d5..da9bc170cd543 100644
> --- a/Documentation/devicetree/bindings/net/cortina,gemini-ethernet.yaml
> +++ b/Documentation/devicetree/bindings/net/cortina,gemini-ethernet.yaml
> @@ -87,18 +87,6 @@ examples:
> #include <dt-bindings/interrupt-controller/irq.h>
> #include <dt-bindings/clock/cortina,gemini-clock.h>
> #include <dt-bindings/reset/cortina,gemini-reset.h>
> - mdio0: mdio {
> - #address-cells = <1>;
> - #size-cells = <0>;
> - phy0: ethernet-phy@1 {
> - reg = <1>;
> - device_type = "ethernet-phy";
> - };
> - phy1: ethernet-phy@3 {
> - reg = <3>;
> - device_type = "ethernet-phy";
> - };
> - };
[Severity: Medium]
Is this deletion intended? The commit message says only:
Correct indentation in the examples to consistent 2- or 4-spaces
indentation to fix dt-check-style warnings
Every other hunk in the series is a pure whitespace shift with the brace
nesting preserved, but here the whole mdio0 node with phy0 and phy1 is
removed and nothing is added back.
Wouldn't re-indenting the mdio0 node to 4 spaces achieve the stated goal
without dropping the example content?
>
> ethernet@60000000 {
> compatible = "cortina,gemini-ethernet";
> @@ -110,28 +98,28 @@ examples:
> ranges;
>
> gmac0: ethernet-port@0 {
[ ... ]
> + phy-mode = "rgmii";
> + phy-handle = <&phy0>;
> };
[Severity: Medium]
Do the surviving phy-handle properties in gmac0 and gmac1 now reference
labels that no longer exist in the file? After this patch the file
contains:
gmac0: ethernet-port@0 {
...
phy-handle = <&phy0>;
};
gmac1: ethernet-port@1 {
...
phy-handle = <&phy1>;
};
but there is no longer any definition of phy0 or phy1 anywhere in
cortina,gemini-ethernet.yaml, and the example no longer shows the MDIO bus
and PHY topology it used to illustrate.
If the mdio0 removal is deliberate, could it go into a separate patch that
also updates the phy-handle references?
>
> gmac1: ethernet-port@1 {
[ ... ]
> + phy-mode = "rgmii";
> + phy-handle = <&phy1>;
> };
> };
[ ... remaining files snipped, no comments ... ]
--
Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260913122910.99457-3-krzysztof.kozlowski%40oss.qualcomm.com
next prev parent reply other threads:[~2026-09-14 12:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-13 12:29 Krzysztof Kozlowski
2026-09-14 9:14 ` Claudiu Manoil
2026-09-14 9:17 ` Krzysztof Kozlowski
2026-09-14 12:50 ` netdev-bot+sashiko [this message]
2026-09-14 15:52 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178939022208.22033.14553895731937911806@kernel.org \
--to=netdev-bot+sashiko@kernel.org \
--cc=abelvesa@kernel.org \
--cc=abhinav.kumar@linux.dev \
--cc=airlied@gmail.com \
--cc=alexandre.belloni@bootlin.com \
--cc=andrew+netdev@lunn.ch \
--cc=angelogioacchino.delregno@collabora.com \
--cc=ath10k@lists.infradead.org \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=claudiu.manoil@nxp.com \
--cc=clement.leger@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=edumazet@google.com \
--cc=elder@kernel.org \
--cc=florian.fainelli@broadcom.com \
--cc=freedreno@lists.freedesktop.org \
--cc=geert+renesas@glider.be \
--cc=hayashi.kunihiko@socionext.com \
--cc=hkallweit1@gmail.com \
--cc=jesszhan0024@gmail.com \
--cc=jjohnson@kernel.org \
--cc=johannes@sipsolutions.net \
--cc=justin.chen@broadcom.com \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=kuba@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=lorenzo@kernel.org \
--cc=lumag@kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=magnus.damm@gmail.com \
--cc=marijn.suijten@somainline.org \
--cc=matthias.bgg@gmail.com \
--cc=mhiramat@kernel.org \
--cc=mripard@kernel.org \
--cc=nbd@nbd.name \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=rfoss@kernel.org \
--cc=richardcochran@gmail.com \
--cc=robh@kernel.org \
--cc=robin.clark@oss.qualcomm.com \
--cc=rogerq@kernel.org \
--cc=ryder.lee@mediatek.com \
--cc=s-vadapalli@ti.com \
--cc=sean.wang@mediatek.com \
--cc=sean@poorly.run \
--cc=shayne.chen@mediatek.com \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
--cc=ulli.kroll@googlemail.com \
--cc=vineetha.g.jaya.kumaran@intel.com \
--cc=yongxing.mou@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®