net: dsa: tag_rtl8_4: typo in modalias name
Subsystems (3)
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.
Reported-by Arınç ÜNAL <[email protected]>
Signed-off-by Luiz Angelo Daros de Luca <[email protected]>
--- net/dsa/tag_rtl8_4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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),
Signature · 1 line
2.35.1
Quoted 14 lines · Luiz Angelo Daros de Luca
DSA_TAG_PROTO_RTL8_4Lis not defined. It should beDSA_TAG_PROTO_RTL8_4T.Reported-by Arınç ÜNAL <[email protected]>Signed-off-by Luiz Angelo Daros de Luca <[email protected]>--- net/dsa/tag_rtl8_4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)net/dsa/tag_rtl8_4.c +0
-0
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ç
Quoted 3 lines
Might as well add Fixes: tag since this fixes
cd87fecdedd7("net: dsa:tag_rtl8_4: addrtl8_4ttrailing 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