Re: [PATCH net-next 2/2] net: dsa: Rename IFLA_DSA_MASTER to IFLA_DSA_CONDUIT

From
Andrew Lunn <andrew@lunn.ch>
Date
2023-10-11 01:26:01
Also in
linux-devicetree, linux-doc, linux-mediatek, linux-renesas-soc, lkml, netdev
Reply to
Florian Fainelli, 2023-10-10
quoted hunk ↗ jump to hunk
 enum {
 	IFLA_DSA_UNSPEC,
-	IFLA_DSA_MASTER,
+	IFLA_DSA_MASTER,	/* Deprecated, use IFLA_DSA_CONDUIT instead */
+	IFLA_DSA_CONDUIT = IFLA_DSA_MASTER,
 	__IFLA_DSA_MAX,
 };
Minor point, but maybe it seems better if we flip this around?

 enum {
 	IFLA_DSA_UNSPEC,
-	IFLA_DSA_MASTER,
+	IFLA_DSA_CONDUIT,	
+	IFLA_DSA_MASTER = IFLA_DSA_CONDUIT, /* Deprecated */
 	__IFLA_DSA_MAX,
 };

 Reviewed-by: Andrew Lunn [off-list ref]

    Andrew

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (3 messages) 3 messages, 2 authors, last reply 2023-10-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help