* [PATCH net-next v2 0/2] net: phy: print warning if usage of deprecated array-style fixed-link binding is detected
@ 2025-09-11 19:18 Heiner Kallweit
2025-09-11 19:19 ` [PATCH net-next v2 1/2] of: mdio: warn if deprecated fixed-link binding is used Heiner Kallweit
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Heiner Kallweit @ 2025-09-11 19:18 UTC (permalink / raw)
To: Russell King - ARM Linux, Andrew Lunn, Andrew Lunn, Paolo Abeni,
Jakub Kicinski, Eric Dumazet, David Miller
Cc: Krzysztof Kozlowski, netdev@vger.kernel.org
The array-style fixed-link binding has been marked deprecated for more
than 10 yrs, but still there's a number of users. Print a warning when
usage of the deprecated binding is detected.
v2:
- use dedicated printk specifiers
Heiner Kallweit (2):
of: mdio: warn if deprecated fixed-link binding is used
net: phylink: warn if deprecated array-style fixed-link binding is
used
drivers/net/mdio/of_mdio.c | 2 ++
drivers/net/phy/phylink.c | 3 +++
2 files changed, 5 insertions(+)
--
2.51.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH net-next v2 1/2] of: mdio: warn if deprecated fixed-link binding is used
2025-09-11 19:18 [PATCH net-next v2 0/2] net: phy: print warning if usage of deprecated array-style fixed-link binding is detected Heiner Kallweit
@ 2025-09-11 19:19 ` Heiner Kallweit
2025-09-11 20:13 ` Russell King (Oracle)
2025-09-11 19:20 ` [PATCH net-next v2 2/2] net: phylink: warn if deprecated array-style " Heiner Kallweit
2025-09-12 5:31 ` [PATCH net-next v2 0/2] net: phy: print warning if usage of deprecated array-style fixed-link binding is detected Heiner Kallweit
2 siblings, 1 reply; 7+ messages in thread
From: Heiner Kallweit @ 2025-09-11 19:19 UTC (permalink / raw)
To: Russell King - ARM Linux, Andrew Lunn, Andrew Lunn, Paolo Abeni,
Jakub Kicinski, Eric Dumazet, David Miller
Cc: Krzysztof Kozlowski, netdev@vger.kernel.org
The array-style fixed-link binding has been marked deprecated for more
than 10 yrs, but still there's a number of users. Print a warning when
usage of the deprecated binding is detected.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
v2:
- use %pOF printk specifier
---
drivers/net/mdio/of_mdio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/mdio/of_mdio.c b/drivers/net/mdio/of_mdio.c
index d8ca63ed8..24e03f7a6 100644
--- a/drivers/net/mdio/of_mdio.c
+++ b/drivers/net/mdio/of_mdio.c
@@ -447,6 +447,8 @@ int of_phy_register_fixed_link(struct device_node *np)
/* Old binding */
if (of_property_read_u32_array(np, "fixed-link", fixed_link_prop,
ARRAY_SIZE(fixed_link_prop)) == 0) {
+ pr_warn_once("%pOF uses deprecated array-style fixed-link binding!",
+ np);
status.link = 1;
status.duplex = fixed_link_prop[1];
status.speed = fixed_link_prop[2];
--
2.51.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH net-next v2 2/2] net: phylink: warn if deprecated array-style fixed-link binding is used
2025-09-11 19:18 [PATCH net-next v2 0/2] net: phy: print warning if usage of deprecated array-style fixed-link binding is detected Heiner Kallweit
2025-09-11 19:19 ` [PATCH net-next v2 1/2] of: mdio: warn if deprecated fixed-link binding is used Heiner Kallweit
@ 2025-09-11 19:20 ` Heiner Kallweit
2025-09-11 20:12 ` Russell King (Oracle)
2025-09-12 5:31 ` [PATCH net-next v2 0/2] net: phy: print warning if usage of deprecated array-style fixed-link binding is detected Heiner Kallweit
2 siblings, 1 reply; 7+ messages in thread
From: Heiner Kallweit @ 2025-09-11 19:20 UTC (permalink / raw)
To: Russell King - ARM Linux, Andrew Lunn, Andrew Lunn, Paolo Abeni,
Jakub Kicinski, Eric Dumazet, David Miller
Cc: Krzysztof Kozlowski, netdev@vger.kernel.org
The array-style fixed-link binding has been marked deprecated for more
than 10 yrs, but still there's a number of users. Print a warning when
usage of the deprecated binding is detected.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
v2:
- use %pfw printk specifier
---
drivers/net/phy/phylink.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c
index 1988b7d20..0524dcc1b 100644
--- a/drivers/net/phy/phylink.c
+++ b/drivers/net/phy/phylink.c
@@ -702,6 +702,9 @@ static int phylink_parse_fixedlink(struct phylink *pl,
return -EINVAL;
}
+ phylink_warn(pl, "%pfw uses deprecated array-style fixed-link binding!",
+ fwnode);
+
ret = fwnode_property_read_u32_array(fwnode, "fixed-link",
prop, ARRAY_SIZE(prop));
if (!ret) {
--
2.51.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH net-next v2 2/2] net: phylink: warn if deprecated array-style fixed-link binding is used
2025-09-11 19:20 ` [PATCH net-next v2 2/2] net: phylink: warn if deprecated array-style " Heiner Kallweit
@ 2025-09-11 20:12 ` Russell King (Oracle)
0 siblings, 0 replies; 7+ messages in thread
From: Russell King (Oracle) @ 2025-09-11 20:12 UTC (permalink / raw)
To: Heiner Kallweit
Cc: Andrew Lunn, Andrew Lunn, Paolo Abeni, Jakub Kicinski,
Eric Dumazet, David Miller, Krzysztof Kozlowski,
netdev@vger.kernel.org
On Thu, Sep 11, 2025 at 09:20:48PM +0200, Heiner Kallweit wrote:
> The array-style fixed-link binding has been marked deprecated for more
> than 10 yrs, but still there's a number of users. Print a warning when
> usage of the deprecated binding is detected.
>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> ---
> v2:
> - use %pfw printk specifier
> ---
> drivers/net/phy/phylink.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c
> index 1988b7d20..0524dcc1b 100644
> --- a/drivers/net/phy/phylink.c
> +++ b/drivers/net/phy/phylink.c
> @@ -702,6 +702,9 @@ static int phylink_parse_fixedlink(struct phylink *pl,
> return -EINVAL;
> }
>
> + phylink_warn(pl, "%pfw uses deprecated array-style fixed-link binding!",
\n at the end of a kernel message string is normal.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-next v2 1/2] of: mdio: warn if deprecated fixed-link binding is used
2025-09-11 19:19 ` [PATCH net-next v2 1/2] of: mdio: warn if deprecated fixed-link binding is used Heiner Kallweit
@ 2025-09-11 20:13 ` Russell King (Oracle)
0 siblings, 0 replies; 7+ messages in thread
From: Russell King (Oracle) @ 2025-09-11 20:13 UTC (permalink / raw)
To: Heiner Kallweit
Cc: Andrew Lunn, Andrew Lunn, Paolo Abeni, Jakub Kicinski,
Eric Dumazet, David Miller, Krzysztof Kozlowski,
netdev@vger.kernel.org
On Thu, Sep 11, 2025 at 09:19:26PM +0200, Heiner Kallweit wrote:
> The array-style fixed-link binding has been marked deprecated for more
> than 10 yrs, but still there's a number of users. Print a warning when
> usage of the deprecated binding is detected.
>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> ---
> v2:
> - use %pOF printk specifier
> ---
> drivers/net/mdio/of_mdio.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/mdio/of_mdio.c b/drivers/net/mdio/of_mdio.c
> index d8ca63ed8..24e03f7a6 100644
> --- a/drivers/net/mdio/of_mdio.c
> +++ b/drivers/net/mdio/of_mdio.c
> @@ -447,6 +447,8 @@ int of_phy_register_fixed_link(struct device_node *np)
> /* Old binding */
> if (of_property_read_u32_array(np, "fixed-link", fixed_link_prop,
> ARRAY_SIZE(fixed_link_prop)) == 0) {
> + pr_warn_once("%pOF uses deprecated array-style fixed-link binding!",
Ditto.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-next v2 0/2] net: phy: print warning if usage of deprecated array-style fixed-link binding is detected
2025-09-11 19:18 [PATCH net-next v2 0/2] net: phy: print warning if usage of deprecated array-style fixed-link binding is detected Heiner Kallweit
2025-09-11 19:19 ` [PATCH net-next v2 1/2] of: mdio: warn if deprecated fixed-link binding is used Heiner Kallweit
2025-09-11 19:20 ` [PATCH net-next v2 2/2] net: phylink: warn if deprecated array-style " Heiner Kallweit
@ 2025-09-12 5:31 ` Heiner Kallweit
2025-09-12 23:31 ` Jakub Kicinski
2 siblings, 1 reply; 7+ messages in thread
From: Heiner Kallweit @ 2025-09-12 5:31 UTC (permalink / raw)
To: netdev@vger.kernel.org
On 9/11/2025 9:18 PM, Heiner Kallweit wrote:
> The array-style fixed-link binding has been marked deprecated for more
> than 10 yrs, but still there's a number of users. Print a warning when
> usage of the deprecated binding is detected.
>
> v2:
> - use dedicated printk specifiers
>
> Heiner Kallweit (2):
> of: mdio: warn if deprecated fixed-link binding is used
> net: phylink: warn if deprecated array-style fixed-link binding is
> used
>
> drivers/net/mdio/of_mdio.c | 2 ++
> drivers/net/phy/phylink.c | 3 +++
> 2 files changed, 5 insertions(+)
>
--
pw-bot: cr
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-next v2 0/2] net: phy: print warning if usage of deprecated array-style fixed-link binding is detected
2025-09-12 5:31 ` [PATCH net-next v2 0/2] net: phy: print warning if usage of deprecated array-style fixed-link binding is detected Heiner Kallweit
@ 2025-09-12 23:31 ` Jakub Kicinski
0 siblings, 0 replies; 7+ messages in thread
From: Jakub Kicinski @ 2025-09-12 23:31 UTC (permalink / raw)
To: Heiner Kallweit; +Cc: netdev@vger.kernel.org
On Fri, 12 Sep 2025 07:31:19 +0200 Heiner Kallweit wrote:
> On 9/11/2025 9:18 PM, Heiner Kallweit wrote:
> > The array-style fixed-link binding has been marked deprecated for more
> > than 10 yrs, but still there's a number of users. Print a warning when
> > usage of the deprecated binding is detected.
> >
> > v2:
> > - use dedicated printk specifiers
> >
> > Heiner Kallweit (2):
> > of: mdio: warn if deprecated fixed-link binding is used
> > net: phylink: warn if deprecated array-style fixed-link binding is
> > used
> >
> > drivers/net/mdio/of_mdio.c | 2 ++
> > drivers/net/phy/phylink.c | 3 +++
> > 2 files changed, 5 insertions(+)
> >
> --
> pw-bot: cr
This was already discarded from PW by the time you send this.
Please note:
Quoting documentation:
Updating patch status
~~~~~~~~~~~~~~~~~~~~~
[...]
The use of the bot is entirely optional, if in doubt ignore its existence
completely. Maintainers will classify and update the state of the patches
themselves. No email should ever be sent to the list with the main purpose
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
of communicating with the bot, the bot commands should be seen as metadata.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[...]
See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#updating-patch-status
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-09-12 23:31 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-11 19:18 [PATCH net-next v2 0/2] net: phy: print warning if usage of deprecated array-style fixed-link binding is detected Heiner Kallweit
2025-09-11 19:19 ` [PATCH net-next v2 1/2] of: mdio: warn if deprecated fixed-link binding is used Heiner Kallweit
2025-09-11 20:13 ` Russell King (Oracle)
2025-09-11 19:20 ` [PATCH net-next v2 2/2] net: phylink: warn if deprecated array-style " Heiner Kallweit
2025-09-11 20:12 ` Russell King (Oracle)
2025-09-12 5:31 ` [PATCH net-next v2 0/2] net: phy: print warning if usage of deprecated array-style fixed-link binding is detected Heiner Kallweit
2025-09-12 23:31 ` Jakub Kicinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).