Skip to contentSkip to conversation

net: dsa: tag_rtl8_4: typo in modalias name

PATCH Superseded Luiz Angelo Daros de Luca 2 participants 3 messages Mar 7, 2022 – Mar 9, 2022

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: dsa: tag_rtl8_4: typo in modalias name

DSA_TAG_PROTO_RTL8_4L is not defined. It should be DSA_TAG_PROTO_RTL8_4T.

---
 net/dsa/tag_rtl8_4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/dsa/tag_rtl8_4.c +1 -1
index 71fec45fd0ea..a593ead7ff26 100644
@@ -247,7 +247,7 @@ static const struct dsa_device_ops rtl8_4t_netdev_ops = {
 
 DSA_TAG_DRIVER(rtl8_4t_netdev_ops);
 
-MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_RTL8_4L);
+MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_RTL8_4T);
 
 static struct dsa_tag_driver *dsa_tag_drivers[] = {
 	&DSA_TAG_DRIVER_NAME(rtl8_4_netdev_ops),
Signature · 1 line
2.35.1
#1 lore raw
Quoted 14 lines · Luiz Angelo Daros de Luca

DSA_TAG_PROTO_RTL8_4L is not defined. It should be DSA_TAG_PROTO_RTL8_4T.

---
  net/dsa/tag_rtl8_4.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
net/dsa/tag_rtl8_4.c +0 -0
index 71fec45fd0ea..a593ead7ff26 100644

net/dsa/tag_rtl8_4.c static const struct dsa_device_ops rtl8_4t_netdev_ops = { · line 253

Quoted 8 lines
net/dsa/tag_rtl8_4.c +1 -1
@@ -247,7 +247,7 @@ static const struct dsa_device_ops rtl8_4t_netdev_ops = {
 
  DSA_TAG_DRIVER(rtl8_4t_netdev_ops);
 
-MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_RTL8_4L);
+MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_RTL8_4T);
 
  static struct dsa_tag_driver *dsa_tag_drivers[] = {
  	&DSA_TAG_DRIVER_NAME(rtl8_4_netdev_ops),

Might as well add Fixes: tag since this fixes cd87fecdedd7 ("net: dsa: tag_rtl8_4: add rtl8_4t trailing variant") and "fix typo in modalias name" on the subject to clearly state the change.

Arınç

#2 lore raw
Quoted 3 lines

Might as well add Fixes: tag since this fixes cd87fecdedd7 ("net: dsa:
tag_rtl8_4: add rtl8_4t trailing variant") and "fix typo in modalias name" on the subject to clearly state the change.

Thanks, Arınç. I've just sent v2 with these fixes.

Regards,

Luiz