Skip to contentSkip to conversation

Remove comma after sentinel entries in match table

PATCH Applied Siddharth Vadapalli 13 participants 60 messages Sep 4 – Sep 8

Subsystems (24)
lore
Share & tools
lore

Siddharth Vadapalli

author reviewer
#0 lore raw

cover Remove comma after sentinel entries in match table

Hello,

This series removes the comma present after sentinel entries in the match tables across all networking subsystem drivers, with the exception of the davinci_mdio.c driver, for which, the patch posted by Geert at:
https://lore.kernel.org/r/e481b6de46cecc6ea604ae165272c667274cc621.1788437140.git.geert+renesas@glider.be/
does the same.

Since I inquired about a cleanup across the entire networking subsystem but didn't get a response:
https://lore.kernel.org/r/[email protected]/
I decided to post this series. Given that Andrew Lunn acknowledged the cleanup of the davinci_mdio driver:
https://lore.kernel.org/r/[email protected]/
and I don't see why the cleanup is specific to davinci_mdio driver alone, I am hoping that this series is treated identically to the patch that Geert had posted for the davinci_mdio driver.

Series is based on commit
6ebcf5074cff net: openvswitch: don't schedule rebalancing if there are no datapaths of the 'main' branch of the net-next tree.

Regards,
Siddharth.

Siddharth Vadapalli (33):
can: bxcan: Remove comma after sentinel-entry in match-table
can: c_can: Remove comma after sentinel-entry in match-table
can: flexcan: Remove comma after sentinel-entry in match-table
can: ifi_canfd: Remove comma after sentinel-entry in match-table
can: m_can: Remove comma after sentinel-entry in match-table
can: sja1000: f81601: Remove comma after sentinel-entry in match-table
can: sja1000_platform: Remove comma after sentinel-entry in
match-table
net: dsa: b53: mdio: Remove comma after sentinel-entry in match-table
net: dsa: b53: srab: Remove comma after sentinel-entry in match-table
net: dsa: bcm_sf2: Remove comma after sentinel-entry in match-table
net: dsa: hellcreek: Remove comma after sentinel-entry in match-table
net: dsa: lan9303: i2c: Remove comma after sentinel-entry in
match-table
net: dsa: lan9303: mdio: Remove comma after sentinel-entry in
match-table
net: dsa: mxl-gsw1xx: Remove comma after sentinel-entry in match-table
net: dsa: mt7530: mdio: Remove comma after sentinel-entry in
match-table
net: dsa: mt7530: mmio: Remove comma after sentinel-entry in
match-table
net: dsa: mv88e6060: Remove comma after sentinel-entry in match-table
net: dsa: mv88e6xxx: Remove comma after sentinel-entry in match-table
net: dsa: qca8k: Remove comma after sentinel-entry in match-table
net: dsa: realtek: rtl8365mb: Remove comma after sentinel-entry in
match-table
net: dsa: realtek: rtl8366rb: Remove comma after sentinel-entry in
match-table
net: dsa: rzn1_a5psw: Remove comma after sentinel-entry in match-table
net: dsa: sja1105: Remove comma after sentinel-entry in match-table
net: bcmasp: Remove comma after sentinel-entry in match-table
net: spacemit: k1_emac: Remove comma after sentinel-entry in
match-table
net: ti: am65-cpsw-nuss: Remove comma after sentinel-entry in
match-table
net: ethernet: ti: cpsw: Remove comma after sentinel-entry in
match-table
net: ethernet: ti: cpsw_new: Remove comma after sentinel-entry in
match-table
net: mdio: bcm-iproc: Remove comma after sentinel-entry in match-table
net: mdio: bcm-unimac: Remove comma after sentinel-entry in
match-table
net: pcs: xpcs-plat: Remove comma after sentinel-entry in match-table
net: phy: nxp-c45-tja11xx: Remove comma after sentinel-entry in
match-table
net: wan: slic_ds26522: Remove comma after sentinel-entry in
match-table

 drivers/net/can/bxcan.c                     | 2 +-
 drivers/net/can/c_can/c_can_platform.c      | 4 ++--
 drivers/net/can/flexcan/flexcan-core.c      | 2 +-
 drivers/net/can/ifi_canfd/ifi_canfd.c       | 2 +-
 drivers/net/can/m_can/m_can_platform.c      | 2 +-
 drivers/net/can/sja1000/f81601.c            | 2 +-
 drivers/net/can/sja1000/sja1000_platform.c  | 2 +-
 drivers/net/dsa/b53/b53_mdio.c              | 2 +-
 drivers/net/dsa/b53/b53_srab.c              | 2 +-
 drivers/net/dsa/bcm_sf2.c                   | 2 +-
 drivers/net/dsa/hirschmann/hellcreek.c      | 2 +-
 drivers/net/dsa/lan9303_i2c.c               | 2 +-
 drivers/net/dsa/lan9303_mdio.c              | 2 +-
 drivers/net/dsa/lantiq/mxl-gsw1xx.c         | 2 +-
 drivers/net/dsa/mt7530-mdio.c               | 2 +-
 drivers/net/dsa/mt7530-mmio.c               | 2 +-
 drivers/net/dsa/mv88e6060.c                 | 2 +-
 drivers/net/dsa/mv88e6xxx/chip.c            | 2 +-
 drivers/net/dsa/qca/qca8k-8xxx.c            | 2 +-
 drivers/net/dsa/realtek/rtl8365mb_main.c    | 2 +-
 drivers/net/dsa/realtek/rtl8366rb.c         | 2 +-
 drivers/net/dsa/rzn1_a5psw.c                | 2 +-
 drivers/net/dsa/sja1105/sja1105_main.c      | 2 +-
 drivers/net/ethernet/broadcom/asp2/bcmasp.c | 4 ++--
 drivers/net/ethernet/spacemit/k1_emac.c     | 4 ++--
 drivers/net/ethernet/ti/am65-cpsw-nuss.c    | 2 +-
 drivers/net/ethernet/ti/cpsw.c              | 2 +-
 drivers/net/ethernet/ti/cpsw_new.c          | 2 +-
 drivers/net/mdio/mdio-bcm-iproc.c           | 2 +-
 drivers/net/mdio/mdio-bcm-unimac.c          | 2 +-
 drivers/net/pcs/pcs-xpcs-plat.c             | 2 +-
 drivers/net/phy/nxp-c45-tja11xx.c           | 2 +-
 drivers/net/wan/slic_ds26522.c              | 2 +-
 33 files changed, 36 insertions(+), 36 deletions(-)
Signature · 1 line
2.51.1
author reviewer
#1 lore raw

PATCH 1/33 can: bxcan: Remove comma after sentinel-entry in match-table

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/can/bxcan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/can/bxcan.c +1 -1
index baf494d20bef..4bddd015775b 100644
@@ -1080,7 +1080,7 @@ static SIMPLE_DEV_PM_OPS(bxcan_pm_ops, bxcan_suspend, bxcan_resume);
 
 static const struct of_device_id bxcan_of_match[] = {
 	{.compatible = "st,stm32f4-bxcan"},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, bxcan_of_match);
 
Signature · 1 line
2.51.1
author reviewer
#2 lore raw

PATCH 2/33 can: c_can: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/can/c_can/c_can_platform.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/can/c_can/c_can_platform.c +2 -2
index 19c86b94a40e..75607b1afd2e 100644
@@ -239,7 +239,7 @@ static const struct platform_device_id c_can_id_table[] = {
 		.name = "d_can",
 		.driver_data = (kernel_ulong_t)&d_can_drvdata,
 	},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(platform, c_can_id_table);
 
@@ -249,7 +249,7 @@ static const struct of_device_id c_can_of_table[] = {
 	{ .compatible = "ti,dra7-d_can", .data = &dra7_dcan_drvdata },
 	{ .compatible = "ti,am3352-d_can", .data = &am3352_dcan_drvdata },
 	{ .compatible = "ti,am4372-d_can", .data = &am3352_dcan_drvdata },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, c_can_of_table);
 
Signature · 1 line
2.51.1
author reviewer
#3 lore raw

PATCH 3/33 can: flexcan: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/can/flexcan/flexcan-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/can/flexcan/flexcan-core.c +1 -1
index f5d22c61503f..86b40abe9e76 100644
@@ -2070,7 +2070,7 @@ static const struct of_device_id flexcan_of_match[] = {
 	{ .compatible = "fsl,ls1021ar2-flexcan", .data = &fsl_ls1021a_r2_devtype_data, },
 	{ .compatible = "fsl,lx2160ar1-flexcan", .data = &fsl_lx2160a_r1_devtype_data, },
 	{ .compatible = "nxp,s32g2-flexcan", .data = &nxp_s32g2_devtype_data, },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, flexcan_of_match);
 
Signature · 1 line
2.51.1
author reviewer
#4 lore raw

PATCH 4/33 can: ifi_canfd: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/can/ifi_canfd/ifi_canfd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/can/ifi_canfd/ifi_canfd.c +1 -1
index 0f83335e4d07..9eecfe5a87bd 100644
@@ -1044,7 +1044,7 @@ static void ifi_canfd_plat_remove(struct platform_device *pdev)
 
 static const struct of_device_id ifi_canfd_of_table[] = {
 	{ .compatible = "ifi,canfd-1.0", .data = NULL },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, ifi_canfd_of_table);
 
Signature · 1 line
2.51.1
author reviewer
#5 lore raw

PATCH 5/33 can: m_can: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/can/m_can/m_can_platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/can/m_can/m_can_platform.c +1 -1
index 56da411878af..51dd41dbf2c9 100644
@@ -220,7 +220,7 @@ static const struct dev_pm_ops m_can_pmops = {
 
 static const struct of_device_id m_can_of_table[] = {
 	{ .compatible = "bosch,m_can", .data = NULL },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, m_can_of_table);
 
Signature · 1 line
2.51.1
maintainer Acked-by on v1 5/33
#6 lore raw

Re: [PATCH net-next 05/33] can: m_can: Remove comma after sentinel-entry in match-table

Quoted 4 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

+Kendall

Note that this and another series by Kendall will probably have a conflict as both change the compatibles:
https://lore.kernel.org/all/[email protected]/

Best
Markus

author reviewer
#7 lore raw

PATCH 6/33 can: sja1000: f81601: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/can/sja1000/f81601.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/can/sja1000/f81601.c +1 -1
index 8f25e95814ef..18cf170db457 100644
@@ -40,7 +40,7 @@ struct f81601_pci_card {
 
 static const struct pci_device_id f81601_pci_tbl[] = {
 	{ PCI_DEVICE(0x1c29, 0x1703) },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 
 MODULE_DEVICE_TABLE(pci, f81601_pci_tbl);
Signature · 1 line
2.51.1
author reviewer
#8 lore raw

PATCH 7/33 can: sja1000_platform: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/can/sja1000/sja1000_platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/can/sja1000/sja1000_platform.c +1 -1
index 2d555f854008..da4e1c820b6e 100644
@@ -207,7 +207,7 @@ static const struct of_device_id sp_of_table[] = {
 	{ .compatible = "nxp,sja1000", .data = NULL, },
 	{ .compatible = "renesas,rzn1-sja1000", .data = &renesas_data, },
 	{ .compatible = "technologic,sja1000", .data = &technologic_data, },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, sp_of_table);
 
Signature · 1 line
2.51.1
author reviewer
#9 lore raw

PATCH 8/33 net: dsa: b53: mdio: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/b53/b53_mdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/b53/b53_mdio.c +1 -1
index 43a3b37b731b..fc1ce57a80a3 100644
@@ -384,7 +384,7 @@ static const struct of_device_id b53_of_match[] = {
 	{ .compatible = "brcm,bcm5395" },
 	{ .compatible = "brcm,bcm5397" },
 	{ .compatible = "brcm,bcm5398" },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, b53_of_match);
 
Signature · 1 line
2.51.1
author reviewer
#10 lore raw

PATCH 9/33 net: dsa: b53: srab: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/b53/b53_srab.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/b53/b53_srab.c +1 -1
index b9939bbd2cd5..83a03fca142a 100644
@@ -515,7 +515,7 @@ static const struct of_device_id b53_srab_of_match[] = {
 	{ .compatible = "brcm,cygnus-srab", .data = (void *)BCM583XX_DEVICE_ID },
 	{ .compatible = "brcm,nsp-srab", .data = (void *)BCM58XX_DEVICE_ID },
 	{ .compatible = "brcm,omega-srab", .data = (void *)BCM583XX_DEVICE_ID },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, b53_srab_of_match);
 
Signature · 1 line
2.51.1
author reviewer
#11 lore raw

PATCH 10/33 net: dsa: bcm_sf2: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/bcm_sf2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/bcm_sf2.c +1 -1
index de3efa3ce9a7..9e5713015187 100644
@@ -1358,7 +1358,7 @@ static const struct of_device_id bcm_sf2_of_match[] = {
 	{ .compatible = "brcm,bcm7278-switch-v4.8",
 	  .data = &bcm_sf2_7278_data
 	},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, bcm_sf2_of_match);
 
Signature · 1 line
2.51.1
author reviewer
#12 lore raw

PATCH 11/33 net: dsa: hellcreek: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/hirschmann/hellcreek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/hirschmann/hellcreek.c +1 -1
index 2c6cabf61143..aec50414986e 100644
@@ -2093,7 +2093,7 @@ static const struct of_device_id hellcreek_of_match[] = {
 		.compatible = "hirschmann,hellcreek-de1soc-r1",
 		.data	    = &de1soc_r1_pdata,
 	},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, hellcreek_of_match);
 
Signature · 1 line
2.51.1
maintainer Reviewed-by on v1 11/33
#13 lore raw

Re: [PATCH net-next 11/33] net: dsa: hellcreek: Remove comma after sentinel-entry in match-table

Quoted 4 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

Quoted 16 lines
---
 drivers/net/dsa/hirschmann/hellcreek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/hirschmann/hellcreek.c +1 -1
index 2c6cabf61143..aec50414986e 100644
@@ -2093,7 +2093,7 @@ static const struct of_device_id hellcreek_of_match[] = {
 		.compatible = "hirschmann,hellcreek-de1soc-r1",
 		.data	    = &de1soc_r1_pdata,
 	},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, hellcreek_of_match);
author reviewer
#14 lore raw

PATCH 12/33 net: dsa: lan9303: i2c: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/lan9303_i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/lan9303_i2c.c +1 -1
index 3a09f3907f44..7b70e22371fc 100644
@@ -96,7 +96,7 @@ MODULE_DEVICE_TABLE(i2c, lan9303_i2c_id);
 
 static const struct of_device_id lan9303_i2c_of_match[] = {
 	{ .compatible = "smsc,lan9303-i2c", },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, lan9303_i2c_of_match);
 
Signature · 1 line
2.51.1
Reviewed-by on v1 12/33
#15 lore raw

Re: [PATCH net-next 12/33] net: dsa: lan9303: i2c: Remove comma after sentinel-entry in match-table

Quoted 4 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

Quoted 16 lines

---
 drivers/net/dsa/lan9303_i2c.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/lan9303_i2c.c +0 -0
index 3a09f3907f44..7b70e22371fc 100644
@@ -96,7 +96,7 @@ MODULE_DEVICE_TABLE(i2c, lan9303_i2c_id);


 static const struct of_device_id lan9303_i2c_of_match[] = { { .compatible = "smsc,lan9303-i2c", },

drivers/net/dsa/lan9303_i2c.c +1 -1
-	{ /* sentinel */ },
+	{ /* sentinel */ }

 };
 MODULE_DEVICE_TABLE(of, lan9303_i2c_of_match);

author reviewer
#16 lore raw

PATCH 13/33 net: dsa: lan9303: mdio: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/lan9303_mdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/lan9303_mdio.c +1 -1
index 0ac4857e5ee8..d3b5062905b1 100644
@@ -157,7 +157,7 @@ static void lan9303_mdio_shutdown(struct mdio_device *mdiodev)
 static const struct of_device_id lan9303_mdio_of_match[] = {
 	{ .compatible = "smsc,lan9303-mdio" },
 	{ .compatible = "microchip,lan9354-mdio" },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, lan9303_mdio_of_match);
 
Signature · 1 line
2.51.1
Reviewed-by on v1 13/33
#17 lore raw

Re: [PATCH net-next 13/33] net: dsa: lan9303: mdio: Remove comma after sentinel-entry in match-table

Quoted 4 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

Quoted 16 lines

---
 drivers/net/dsa/lan9303_mdio.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/lan9303_mdio.c +1 -1
index 0ac4857e5ee8..d3b5062905b1 100644
@@ -157,7 +157,7 @@ static void lan9303_mdio_shutdown(struct mdio_device *mdiodev)
  static const struct of_device_id lan9303_mdio_of_match[] = {
  	{ .compatible = "smsc,lan9303-mdio" },
  	{ .compatible = "microchip,lan9354-mdio" },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
  };
  MODULE_DEVICE_TABLE(of, lan9303_mdio_of_match);
author reviewer
#18 lore raw

PATCH 14/33 net: dsa: mxl-gsw1xx: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/lantiq/mxl-gsw1xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/lantiq/mxl-gsw1xx.c +1 -1
index a1104b2f92a9..347e16e9fdc1 100644
@@ -918,7 +918,7 @@ static const struct of_device_id gsw1xx_of_match[] = {
 	{ .compatible = "maxlinear,gsw140", .data = &gsw140_data },
 	{ .compatible = "maxlinear,gsw141", .data = &gsw141_data },
 	{ .compatible = "maxlinear,gsw145", .data = &gsw140_data },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 
 MODULE_DEVICE_TABLE(of, gsw1xx_of_match);
Signature · 1 line
2.51.1
Reviewed-by on v1 14/33
#19 lore raw

Re: [PATCH net-next 14/33] net: dsa: mxl-gsw1xx: Remove comma after sentinel-entry in match-table

Quoted 4 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

Quoted 17 lines

---
 drivers/net/dsa/lantiq/mxl-gsw1xx.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/lantiq/mxl-gsw1xx.c +1 -1
index a1104b2f92a9..347e16e9fdc1 100644
@@ -918,7 +918,7 @@ static const struct of_device_id gsw1xx_of_match[] = {
  	{ .compatible = "maxlinear,gsw140", .data = &gsw140_data },
  	{ .compatible = "maxlinear,gsw141", .data = &gsw141_data },
  	{ .compatible = "maxlinear,gsw145", .data = &gsw140_data },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
  };


 MODULE_DEVICE_TABLE(of, gsw1xx_of_match);

maintainer Reviewed-by on v1 14/33
#20 lore raw

Re: [PATCH net-next 14/33] net: dsa: mxl-gsw1xx: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli
Quoted 13 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/lantiq/mxl-gsw1xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/lantiq/mxl-gsw1xx.c +0 -0
index a1104b2f92a9..347e16e9fdc1 100644

drivers/net/dsa/lantiq/mxl-gsw1xx.c static const struct of_device_id gsw1xx_of_match[] = { · line 922

Quoted 6 lines
drivers/net/dsa/lantiq/mxl-gsw1xx.c +1 -1
@@ -918,7 +918,7 @@ static const struct of_device_id gsw1xx_of_match[] = {
 	{ .compatible = "maxlinear,gsw140", .data = &gsw140_data },
 	{ .compatible = "maxlinear,gsw141", .data = &gsw141_data },
 	{ .compatible = "maxlinear,gsw145", .data = &gsw140_data },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
author reviewer
#21 lore raw

PATCH 15/33 net: dsa: mt7530: mdio: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/mt7530-mdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/mt7530-mdio.c +1 -1
index 81c5c6f7066d..24ef54f3db2a 100644
@@ -142,7 +142,7 @@ static const struct of_device_id mt7530_of_match[] = {
 	{ .compatible = "mediatek,mt7621", .data = &mt753x_table[ID_MT7621], },
 	{ .compatible = "mediatek,mt7530", .data = &mt753x_table[ID_MT7530], },
 	{ .compatible = "mediatek,mt7531", .data = &mt753x_table[ID_MT7531], },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, mt7530_of_match);
 
Signature · 1 line
2.51.1
author reviewer
#22 lore raw

PATCH 16/33 net: dsa: mt7530: mmio: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/mt7530-mmio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/mt7530-mmio.c +1 -1
index fd68b1cd0630..cf3bdb23a2d5 100644
@@ -14,7 +14,7 @@ static const struct of_device_id mt7988_of_match[] = {
 	{ .compatible = "airoha,en7581-switch", .data = &mt753x_table[ID_EN7581], },
 	{ .compatible = "econet,en7528-switch", .data = &mt753x_table[ID_EN7528], },
 	{ .compatible = "mediatek,mt7988-switch", .data = &mt753x_table[ID_MT7988], },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, mt7988_of_match);
 
Signature · 1 line
2.51.1
maintainer Reviewed-by on v1 16/33
#23 lore raw

Re: [PATCH net-next 16/33] net: dsa: mt7530: mmio: Remove comma after sentinel-entry in match-table

Quoted 13 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/mt7530-mmio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/mt7530-mmio.c +0 -0
index fd68b1cd0630..cf3bdb23a2d5 100644

drivers/net/dsa/mt7530-mmio.c static const struct of_device_id mt7988_of_match[] = { · line 19

Quoted 7 lines
drivers/net/dsa/mt7530-mmio.c +1 -1
@@ -14,7 +14,7 @@ static const struct of_device_id mt7988_of_match[] = {
 	{ .compatible = "airoha,en7581-switch", .data = &mt753x_table[ID_EN7581], },
 	{ .compatible = "econet,en7528-switch", .data = &mt753x_table[ID_EN7528], },
 	{ .compatible = "mediatek,mt7988-switch", .data = &mt753x_table[ID_MT7988], },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, mt7988_of_match);
author reviewer
#24 lore raw

PATCH 17/33 net: dsa: mv88e6060: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/mv88e6060.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/mv88e6060.c +1 -1
index 9c8ac14cd4f5..64bf3d759d17 100644
@@ -362,7 +362,7 @@ static const struct of_device_id mv88e6060_of_match[] = {
 	{
 		.compatible = "marvell,mv88e6060",
 	},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 
 static struct mdio_driver mv88e6060_driver = {
Signature · 1 line
2.51.1
Reviewed-by on v1 17/33
#25 lore raw

Re: [PATCH net-next 17/33] net: dsa: mv88e6060: Remove comma after sentinel-entry in match-table

Quoted 4 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

Quoted 17 lines

---
 drivers/net/dsa/mv88e6060.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/mv88e6060.c +1 -1
index 9c8ac14cd4f5..64bf3d759d17 100644
@@ -362,7 +362,7 @@ static const struct of_device_id mv88e6060_of_match[] = {
  	{
  		.compatible = "marvell,mv88e6060",
  	},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
  };


 static struct mdio_driver mv88e6060_driver = {

author reviewer
#27 lore raw

PATCH 18/33 net: dsa: mv88e6xxx: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/mv88e6xxx/chip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/mv88e6xxx/chip.c +1 -1
index 80b877c74513..f8aa93e9ee18 100644
@@ -7513,7 +7513,7 @@ static const struct of_device_id mv88e6xxx_of_match[] = {
 		.compatible = "marvell,mv88e6250",
 		.data = &mv88e6xxx_table[MV88E6250],
 	},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 
 MODULE_DEVICE_TABLE(of, mv88e6xxx_of_match);
Signature · 1 line
2.51.1
Reviewed-by on v1 18/33
#28 lore raw

Re: [PATCH net-next 18/33] net: dsa: mv88e6xxx: Remove comma after sentinel-entry in match-table

Quoted 4 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

Quoted 17 lines

---
 drivers/net/dsa/mv88e6xxx/chip.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/mv88e6xxx/chip.c +1 -1
index 80b877c74513..f8aa93e9ee18 100644
@@ -7513,7 +7513,7 @@ static const struct of_device_id mv88e6xxx_of_match[] = {
  		.compatible = "marvell,mv88e6250",
  		.data = &mv88e6xxx_table[MV88E6250],
  	},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
  };


 MODULE_DEVICE_TABLE(of, mv88e6xxx_of_match);

author reviewer
#30 lore raw

PATCH 19/33 net: dsa: qca8k: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/qca/qca8k-8xxx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/qca/qca8k-8xxx.c +1 -1
index 4c928983b862..60f2a615a5cc 100644
@@ -2215,7 +2215,7 @@ static const struct of_device_id qca8k_of_match[] = {
 	{ .compatible = "qca,qca8328", .data = &qca8328 },
 	{ .compatible = "qca,qca8334", .data = &qca833x },
 	{ .compatible = "qca,qca8337", .data = &qca833x },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 
 static struct mdio_driver qca8kmdio_driver = {
Signature · 1 line
2.51.1
author reviewer
#31 lore raw

PATCH 20/33 net: dsa: realtek: rtl8365mb: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/realtek/rtl8365mb_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/realtek/rtl8365mb_main.c +1 -1
index 4c305756116c..f8220d832e46 100644
@@ -3352,7 +3352,7 @@ const struct realtek_variant rtl8365mb_variant = {
 
 static const struct of_device_id rtl8365mb_of_match[] = {
 	{ .compatible = "realtek,rtl8365mb", .data = &rtl8365mb_variant, },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, rtl8365mb_of_match);
 
Signature · 1 line
2.51.1
maintainer Reviewed-by on v1 20/33
#32 lore raw

Re: [PATCH net-next 20/33] net: dsa: realtek: rtl8365mb: Remove comma after sentinel-entry in match-table

Em sex., 4 de set. de 2026 às 01:39, Siddharth Vadapalli <[email protected]> escreveu:

Quoted 23 lines

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/realtek/rtl8365mb_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/realtek/rtl8365mb_main.c +1 -2
index 4c305756116c..f8220d832e46 100644
@@ -3352,7 +3352,7 @@ const struct realtek_variant rtl8365mb_variant = {
 
 static const struct of_device_id rtl8365mb_of_match[] = {
        { .compatible = "realtek,rtl8365mb", .data = &rtl8365mb_variant, },
-       { /* sentinel */ },
+       { /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, rtl8365mb_of_match);
 
--
Quoted 2 lines

2.51.1

author reviewer
#34 lore raw

PATCH 21/33 net: dsa: realtek: rtl8366rb: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/realtek/rtl8366rb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/realtek/rtl8366rb.c +1 -1
index f11831b66de8..093a06c599d4 100644
@@ -1839,7 +1839,7 @@ const struct realtek_variant rtl8366rb_variant = {
 
 static const struct of_device_id rtl8366rb_of_match[] = {
 	{ .compatible = "realtek,rtl8366rb", .data = &rtl8366rb_variant, },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, rtl8366rb_of_match);
 
Signature · 1 line
2.51.1
author reviewer
#36 lore raw

PATCH 22/33 net: dsa: rzn1_a5psw: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/rzn1_a5psw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/rzn1_a5psw.c +1 -1
index 4d857e3be10b..85ff1fd2bbfb 100644
@@ -1299,7 +1299,7 @@ static void a5psw_shutdown(struct platform_device *pdev)
 
 static const struct of_device_id a5psw_of_mtable[] = {
 	{ .compatible = "renesas,rzn1-a5psw", },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, a5psw_of_mtable);
 
Signature · 1 line
2.51.1
Reviewed-by on v1 22/33
#37 lore raw

Re: [PATCH net-next 22/33] net: dsa: rzn1_a5psw: Remove comma after sentinel-entry in match-table

Quoted 4 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
author reviewer
#38 lore raw

PATCH 23/33 net: dsa: sja1105: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/dsa/sja1105/sja1105_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/sja1105/sja1105_main.c +1 -1
index 1653e83d9123..8984ed55ad59 100644
@@ -3374,7 +3374,7 @@ static const struct of_device_id sja1105_dt_ids[] = {
 	{ .compatible = "nxp,sja1110b", .data = &sja1110b_info },
 	{ .compatible = "nxp,sja1110c", .data = &sja1110c_info },
 	{ .compatible = "nxp,sja1110d", .data = &sja1110d_info },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, sja1105_dt_ids);
 
Signature · 1 line
2.51.1
author reviewer
#39 lore raw

PATCH 24/33 net: bcmasp: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/ethernet/broadcom/asp2/bcmasp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/broadcom/asp2/bcmasp.c +2 -2
index 972474893a6b..3393b5dcbc9a 100644
@@ -1209,7 +1209,7 @@ static const struct of_device_id bcmasp_of_match[] = {
 	{ .compatible = "brcm,asp-v2.1", .data = &v21_plat_data },
 	{ .compatible = "brcm,asp-v2.2", .data = &v22_plat_data },
 	{ .compatible = "brcm,asp-v3.0", .data = &v30_plat_data },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, bcmasp_of_match);
 
@@ -1217,7 +1217,7 @@ static const struct of_device_id bcmasp_mdio_of_match[] = {
 	{ .compatible = "brcm,asp-v2.1-mdio", },
 	{ .compatible = "brcm,asp-v2.2-mdio", },
 	{ .compatible = "brcm,asp-v3.0-mdio", },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, bcmasp_mdio_of_match);
 
Signature · 1 line
2.51.1
#40 lore raw

RE: [PATCH net-next 24/33] net: bcmasp: Remove comma after sentinel-entry in match-table

Quoted 66 lines

-----Original Message-----
From: Siddharth Vadapalli <[email protected]>
Sent: Friday, September 4, 2026 6:37 AM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; c- [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; v- [email protected]; [email protected]; [email protected]; [email protected]; Loktionov, Aleksandr <[email protected]>; [email protected]
Cc: [email protected]; [email protected]; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]; [email protected]
Subject: [PATCH net-next 24/33] net: bcmasp: Remove comma after sentinel-entry in match-table

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/ethernet/broadcom/asp2/bcmasp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/broadcom/asp2/bcmasp.c +2 -3
index 972474893a6b..3393b5dcbc9a 100644
@@ -1209,7 +1209,7 @@ static const struct of_device_id
 bcmasp_of_match[] = {
 	{ .compatible = "brcm,asp-v2.1", .data = &v21_plat_data },
 	{ .compatible = "brcm,asp-v2.2", .data = &v22_plat_data },
 	{ .compatible = "brcm,asp-v3.0", .data = &v30_plat_data },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, bcmasp_of_match);
@@ -1217,7 +1217,7 @@ static const struct of_device_id
 bcmasp_mdio_of_match[] = {
 	{ .compatible = "brcm,asp-v2.1-mdio", },
 	{ .compatible = "brcm,asp-v2.2-mdio", },
 	{ .compatible = "brcm,asp-v3.0-mdio", },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, bcmasp_mdio_of_match);
 
--
Quoted 1 line

2.51.1

For me it looks like this PR doesn't clean up anything meaningful. Is there a different opinion?

author reviewer
#41 lore raw

PATCH 25/33 net: spacemit: k1_emac: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/ethernet/spacemit/k1_emac.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/spacemit/k1_emac.c +2 -2
index f7f16397a2c2..29385d78fc4b 100644
@@ -1161,7 +1161,7 @@ static const struct ethtool_rmon_hist_range emac_rmon_hist_ranges[] = {
 	{  512, 1023 },
 	{ 1024, 1518 },
 	{ 1519, 4096 },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 
 /* Like dev_fetch_dstats(), but we only use tx_drops */
@@ -2066,7 +2066,7 @@ static const struct dev_pm_ops emac_pm_ops = {
 
 static const struct of_device_id emac_of_match[] = {
 	{ .compatible = "spacemit,k1-emac" },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, emac_of_match);
 
Signature · 1 line
2.51.1
Acked-by on v1 25/33
#42 lore raw

Re: [PATCH net-next 25/33] net: spacemit: k1_emac: Remove comma after sentinel-entry in match-table

Quoted 22 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/ethernet/spacemit/k1_emac.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/spacemit/k1_emac.c +1 -1
index f7f16397a2c2..29385d78fc4b 100644
@@ -1161,7 +1161,7 @@ static const struct ethtool_rmon_hist_range emac_rmon_hist_ranges[] = {
 	{  512, 1023 },
 	{ 1024, 1518 },
 	{ 1519, 4096 },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 
 /* Like dev_fetch_dstats(), but we only use tx_drops */

drivers/net/ethernet/spacemit/k1_emac.c static const struct dev_pm_ops emac_pm_ops = { · line 2072

Quoted 8 lines
drivers/net/ethernet/spacemit/k1_emac.c +1 -1
@@ -2066,7 +2066,7 @@ static const struct dev_pm_ops emac_pm_ops = {
 
 static const struct of_device_id emac_of_match[] = {
 	{ .compatible = "spacemit,k1-emac" },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, emac_of_match);
 

Regards,
Vivian "dramforever" Wang

author reviewer
#44 lore raw

PATCH 26/33 net: ti: am65-cpsw-nuss: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/ethernet/ti/am65-cpsw-nuss.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/ti/am65-cpsw-nuss.c +1 -1
index 6330540979d7..2551554add17 100644
@@ -3506,7 +3506,7 @@ static const struct of_device_id am65_cpsw_nuss_of_mtable[] = {
 	{ .compatible = "ti,j7200-cpswxg-nuss", .data = &j7200_cpswxg_pdata},
 	{ .compatible = "ti,j721e-cpswxg-nuss", .data = &j721e_cpswxg_pdata},
 	{ .compatible = "ti,j784s4-cpswxg-nuss", .data = &j784s4_cpswxg_pdata},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, am65_cpsw_nuss_of_mtable);
 
Signature · 1 line
2.51.1
Reviewed-by on v1 26/33
#45 lore raw

Re: [PATCH net-next 26/33] net: ti: am65-cpsw-nuss: Remove comma after sentinel-entry in match-table

Quoted 4 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

Quoted 17 lines

---
 drivers/net/ethernet/ti/am65-cpsw-nuss.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/ti/am65-cpsw-nuss.c +1 -1
index 6330540979d7..2551554add17 100644
@@ -3506,7 +3506,7 @@ static const struct of_device_id am65_cpsw_nuss_of_mtable[] = {
  	{ .compatible = "ti,j7200-cpswxg-nuss", .data = &j7200_cpswxg_pdata},
  	{ .compatible = "ti,j721e-cpswxg-nuss", .data = &j721e_cpswxg_pdata},
  	{ .compatible = "ti,j784s4-cpswxg-nuss", .data = &j784s4_cpswxg_pdata},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
  };
  MODULE_DEVICE_TABLE(of, am65_cpsw_nuss_of_mtable);

author reviewer
#46 lore raw

PATCH 27/33 net: ethernet: ti: cpsw: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/ethernet/ti/cpsw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/ti/cpsw.c +1 -1
index aa3531e844e8..63b64faeaca0 100644
@@ -1529,7 +1529,7 @@ static const struct of_device_id cpsw_of_mtable[] = {
 	{ .compatible = "ti,am335x-cpsw"},
 	{ .compatible = "ti,am4372-cpsw"},
 	{ .compatible = "ti,dra7-cpsw"},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, cpsw_of_mtable);
 
Signature · 1 line
2.51.1
Reviewed-by on v1 27/33
#47 lore raw

Re: [PATCH net-next 27/33] net: ethernet: ti: cpsw: Remove comma after sentinel-entry in match-table

Quoted 4 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

Quoted 16 lines

---
 drivers/net/ethernet/ti/cpsw.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/ti/cpsw.c +1 -1
index aa3531e844e8..63b64faeaca0 100644
@@ -1529,7 +1529,7 @@ static const struct of_device_id cpsw_of_mtable[] = {
  	{ .compatible = "ti,am335x-cpsw"},
  	{ .compatible = "ti,am4372-cpsw"},
  	{ .compatible = "ti,dra7-cpsw"},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
  };
  MODULE_DEVICE_TABLE(of, cpsw_of_mtable);
author reviewer
#48 lore raw

PATCH 28/33 net: ethernet: ti: cpsw_new: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/ethernet/ti/cpsw_new.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/ti/cpsw_new.c +1 -1
index b6e25a4658d1..07832cad5e3c 100644
@@ -1875,7 +1875,7 @@ static const struct of_device_id cpsw_of_mtable[] = {
 	{ .compatible = "ti,am335x-cpsw-switch"},
 	{ .compatible = "ti,am4372-cpsw-switch"},
 	{ .compatible = "ti,dra7-cpsw-switch"},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, cpsw_of_mtable);
 
Signature · 1 line
2.51.1
Reviewed-by on v1 28/33
#49 lore raw

Re: [PATCH net-next 28/33] net: ethernet: ti: cpsw_new: Remove comma after sentinel-entry in match-table

Quoted 4 lines · Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

Quoted 16 lines

---
 drivers/net/ethernet/ti/cpsw_new.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/ti/cpsw_new.c +1 -1
index b6e25a4658d1..07832cad5e3c 100644
@@ -1875,7 +1875,7 @@ static const struct of_device_id cpsw_of_mtable[] = {
  	{ .compatible = "ti,am335x-cpsw-switch"},
  	{ .compatible = "ti,am4372-cpsw-switch"},
  	{ .compatible = "ti,dra7-cpsw-switch"},
-	{ /* sentinel */ },
+	{ /* sentinel */ }
  };
  MODULE_DEVICE_TABLE(of, cpsw_of_mtable);
author reviewer
#50 lore raw

PATCH 29/33 net: mdio: bcm-iproc: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/mdio/mdio-bcm-iproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/mdio/mdio-bcm-iproc.c +1 -1
index 91690b496793..22473c988e3b 100644
@@ -195,7 +195,7 @@ static const struct dev_pm_ops iproc_mdio_pm_ops = {
 
 static const struct of_device_id iproc_mdio_of_match[] = {
 	{ .compatible = "brcm,iproc-mdio", },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, iproc_mdio_of_match);
 
Signature · 1 line
2.51.1
author reviewer
#51 lore raw

PATCH 30/33 net: mdio: bcm-unimac: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/mdio/mdio-bcm-unimac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/mdio/mdio-bcm-unimac.c +1 -1
index 37e35f282d9a..31e396cc9fbf 100644
@@ -345,7 +345,7 @@ static const struct of_device_id unimac_mdio_ids[] = {
 	{ .compatible = "brcm,genet-mdio-v2", },
 	{ .compatible = "brcm,genet-mdio-v1", },
 	{ .compatible = "brcm,unimac-mdio", },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, unimac_mdio_ids);
 
Signature · 1 line
2.51.1
author reviewer
#52 lore raw

PATCH 31/33 net: pcs: xpcs-plat: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/pcs/pcs-xpcs-plat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/pcs/pcs-xpcs-plat.c +1 -1
index f4b1b8246ce9..e669a7b248ac 100644
@@ -438,7 +438,7 @@ static const struct of_device_id xpcs_of_ids[] = {
 	{ .compatible = "snps,dw-xpcs-gen4-6g", .data = &xpcs_pma_gen4_6g },
 	{ .compatible = "snps,dw-xpcs-gen5-10g", .data = &xpcs_pma_gen5_10g },
 	{ .compatible = "snps,dw-xpcs-gen5-12g", .data = &xpcs_pma_gen5_12g },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, xpcs_of_ids);
 
Signature · 1 line
2.51.1
author reviewer
#53 lore raw

PATCH 32/33 net: phy: nxp-c45-tja11xx: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/phy/nxp-c45-tja11xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/nxp-c45-tja11xx.c +1 -1
index f526528d2e32..8df152f6671f 100644
@@ -2180,7 +2180,7 @@ module_phy_driver(nxp_c45_driver);
 static const struct mdio_device_id __maybe_unused nxp_c45_tbl[] = {
 	{ PHY_ID_MATCH_MODEL(PHY_ID_TJA_1103) },
 	{ PHY_ID_MATCH_MODEL(PHY_ID_TJA_1120) },
-	{ /*sentinel*/ },
+	{ /*sentinel*/ }
 };
 
 MODULE_DEVICE_TABLE(mdio, nxp_c45_tbl);
Signature · 1 line
2.51.1
author reviewer
#54 lore raw

PATCH 33/33 net: wan: slic_ds26522: Remove comma after sentinel-entry in match-table

In reply to Siddharth Vadapalli

Since sentinel is the last entry and we do not expect further entries following it, remove the comma.

---
 drivers/net/wan/slic_ds26522.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wan/slic_ds26522.c +1 -1
index cbb99fc5ea9f..c57e7cb98410 100644
@@ -219,7 +219,7 @@ static int slic_ds26522_probe(struct spi_device *spi)
 
 static const struct spi_device_id slic_ds26522_id[] = {
 	{ .name = "ds26522" },
-	{ /* sentinel */ },
+	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(spi, slic_ds26522_id);
 
Signature · 1 line
2.51.1
maintainer
#55 lore raw
In reply to Siddharth Vadapalli
Quoted 16 lines · On Fri, 4 Sep 2026 10:06:06 +0530 Siddharth Vadapalli wrote:

This series removes the comma present after sentinel entries in the match tables across all networking subsystem drivers, with the exception of the davinci_mdio.c driver, for which, the patch posted by Geert at:
https://lore.kernel.org/r/e481b6de46cecc6ea604ae165272c667274cc621.1788437140.git.geert+renesas@glider.be/
does the same.

Since I inquired about a cleanup across the entire networking subsystem but didn't get a response:
https://lore.kernel.org/r/[email protected]/
I decided to post this series. Given that Andrew Lunn acknowledged the cleanup of the davinci_mdio driver:
https://lore.kernel.org/r/[email protected]/
and I don't see why the cleanup is specific to davinci_mdio driver alone, I am hoping that this series is treated identically to the patch that Geert had posted for the davinci_mdio driver.

Quoted 3 lines

Series is based on commit
6ebcf5074cff net: openvswitch: don't schedule rebalancing if there are no datapaths of the 'main' branch of the net-next tree.

You failed to specify why this "cleanup" makes a difference. have you ever seen the sentinel not be the last entry?

author reviewer
#56 lore raw
Quoted 17 lines · Jakub Kicinski
Quoted 16 lines · On Fri, 4 Sep 2026 10:06:06 +0530 Siddharth Vadapalli wrote:

This series removes the comma present after sentinel entries in the match tables across all networking subsystem drivers, with the exception of the davinci_mdio.c driver, for which, the patch posted by Geert at:
https://lore.kernel.org/r/e481b6de46cecc6ea604ae165272c667274cc621.1788437140.git.geert+renesas@glider.be/
does the same.

Since I inquired about a cleanup across the entire networking subsystem but didn't get a response:
https://lore.kernel.org/r/[email protected]/
I decided to post this series. Given that Andrew Lunn acknowledged the cleanup of the davinci_mdio driver:
https://lore.kernel.org/r/[email protected]/
and I don't see why the cleanup is specific to davinci_mdio driver alone, I am hoping that this series is treated identically to the patch that Geert had posted for the davinci_mdio driver.

Quoted 6 lines
Quoted 3 lines

Series is based on commit
6ebcf5074cff net: openvswitch: don't schedule rebalancing if there are no datapaths of the 'main' branch of the net-next tree.

You failed to specify why this "cleanup" makes a difference. have you ever seen the sentinel not be the last entry?

The 'cleanup' in a way 'guarantees'/'enforces' sentinel being the last entry, by catching 'copy-paste' errors at compile-time rather than being a silent bug that shows up at runtime. If a new entry were to be accidentally added after the sentinel entry in the current drivers, it will not cause any compile-time error, but will fail silently at runtime. This series 'cleans up' the drivers by making it a compile-time error going forward (adding a new entry below sentinel will cause a build error with the comma removed after the sentinel entry). I do not doubt the review process on the mailing lists where such errors will certainly be caught, but isn't it better if they are caught at build-time instead, thereby saving reviewers the trouble of pointing out such trivial mistakes?

Trailing commas are an indication of 'scope-for-extension' in the future, which holds true for 'enums' or other structures where newer entires are added towards the end rather than being inserted in the middle. Since that isn't the case here, this series makes it clear by removing the trailing comma.

maintainer
#57 lore raw
Quoted 15 lines · On Sat, 5 Sep 2026 11:09:54 +0530 Siddharth Vadapalli wrote:
Quoted 2 lines

You failed to specify why this "cleanup" makes a difference. have you ever seen the sentinel not be the last entry?

The 'cleanup' in a way 'guarantees'/'enforces' sentinel being the last entry, by catching 'copy-paste' errors at compile-time rather than being a silent bug that shows up at runtime. If a new entry were to be accidentally added after the sentinel entry in the current drivers, it will not cause any compile-time error, but will fail silently at runtime. This series 'cleans up' the drivers by making it a compile-time error going forward (adding a new entry below sentinel will cause a build error with the comma removed after the sentinel entry). I do not doubt the review process on the mailing lists where such errors will certainly be caught, but isn't it better if they are caught at build-time instead, thereby saving reviewers the trouble of pointing out such trivial mistakes?

Is it polite to answer a question with a question? 🧐️

Please be mindful of maintainer's time going forward.

Quoted 5 lines

Trailing commas are an indication of 'scope-for-extension' in the future, which holds true for 'enums' or other structures where newer entires are added towards the end rather than being inserted in the middle. Since that isn't the case here, this series makes it clear by removing the trailing comma.

author reviewer
#58 lore raw
Quoted 17 lines · Jakub Kicinski
Quoted 15 lines · On Sat, 5 Sep 2026 11:09:54 +0530 Siddharth Vadapalli wrote:
Quoted 2 lines

You failed to specify why this "cleanup" makes a difference. have you ever seen the sentinel not be the last entry?

The 'cleanup' in a way 'guarantees'/'enforces' sentinel being the last entry, by catching 'copy-paste' errors at compile-time rather than being a silent bug that shows up at runtime. If a new entry were to be accidentally added after the sentinel entry in the current drivers, it will not cause any compile-time error, but will fail silently at runtime. This series 'cleans up' the drivers by making it a compile-time error going forward (adding a new entry below sentinel will cause a build error with the comma removed after the sentinel entry). I do not doubt the review process on the mailing lists where such errors will certainly be caught, but isn't it better if they are caught at build-time instead, thereby saving reviewers the trouble of pointing out such trivial mistakes?

Quoted 1 line

Is it polite to answer a question with a question? 🧐️

I apologize if it came across as an impolite response. That isn't my intent. The 'question' was meant to be more of a "It's better to do so, right?" kind of 'question' which is actually a statement, but I posed it as a question to make it sound polite. Writing the same as a statement of fact appeared to be impolite to me, but I realize now that posing it as a question could also be taken as an impolite response.

I should have omitted the closing remark entirely and will keep this in mind during future interactions.

Quoted 9 lines

Please be mindful of maintainer's time going forward.

Quoted 5 lines

Trailing commas are an indication of 'scope-for-extension' in the future, which holds true for 'enums' or other structures where newer entires are added towards the end rather than being inserted in the middle. Since that isn't the case here, this series makes it clear by removing the trailing comma.

#59 lore raw
In reply to Siddharth Vadapalli
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Fri, 4 Sep 2026 10:06:06 +0530 you wrote:

Hello,

This series removes the comma present after sentinel entries in the match tables across all networking subsystem drivers, with the exception of the davinci_mdio.c driver, for which, the patch posted by Geert at:
https://lore.kernel.org/r/e481b6de46cecc6ea604ae165272c667274cc621.1788437140.git.geert+renesas@glider.be/
does the same.

[...]

Here is the summary with links:
- [net-next,01/33] can: bxcan: Remove comma after sentinel-entry in match-table

    https://git.kernel.org/netdev/net-next/c/3fb94a277ff8
  - [net-next,02/33] can: c_can: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/fa7291a2527a
  - [net-next,03/33] can: flexcan: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/4b7e7da65530
  - [net-next,04/33] can: ifi_canfd: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/e6f3617decf3
  - [net-next,05/33] can: m_can: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/6c507ab36a83
  - [net-next,06/33] can: sja1000: f81601: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/44ef827c95a8
  - [net-next,07/33] can: sja1000_platform: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/5b01d5766043
  - [net-next,08/33] net: dsa: b53: mdio: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/9869b64b320d
  - [net-next,09/33] net: dsa: b53: srab: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/30fccb0c4e76
  - [net-next,10/33] net: dsa: bcm_sf2: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/2d08ac30e2ed
  - [net-next,11/33] net: dsa: hellcreek: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/4ea4ec365378
  - [net-next,12/33] net: dsa: lan9303: i2c: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/a650dd1fc254
  - [net-next,13/33] net: dsa: lan9303: mdio: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/4caa67d082f6
  - [net-next,14/33] net: dsa: mxl-gsw1xx: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/9a580b3496c4
  - [net-next,15/33] net: dsa: mt7530: mdio: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/e86151633076
  - [net-next,16/33] net: dsa: mt7530: mmio: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/f9bcf01a6608
  - [net-next,17/33] net: dsa: mv88e6060: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/6011d062dc7d
  - [net-next,18/33] net: dsa: mv88e6xxx: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/ead589471593
  - [net-next,19/33] net: dsa: qca8k: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/c45695468377
  - [net-next,20/33] net: dsa: realtek: rtl8365mb: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/6233d1ee3771
  - [net-next,21/33] net: dsa: realtek: rtl8366rb: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/068d6ebde398
  - [net-next,22/33] net: dsa: rzn1_a5psw: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/39063420326f
  - [net-next,23/33] net: dsa: sja1105: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/2b46b5c9efc9
  - [net-next,24/33] net: bcmasp: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/a450f7315155
  - [net-next,25/33] net: spacemit: k1_emac: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/435d4b4aa9c8
  - [net-next,26/33] net: ti: am65-cpsw-nuss: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/8b7eacd62198
  - [net-next,27/33] net: ethernet: ti: cpsw: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/1cdf69f1e9a0
  - [net-next,28/33] net: ethernet: ti: cpsw_new: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/6d1c7d7a0731
  - [net-next,29/33] net: mdio: bcm-iproc: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/93b9f4f13608
  - [net-next,30/33] net: mdio: bcm-unimac: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/dd7a0a755874
  - [net-next,31/33] net: pcs: xpcs-plat: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/3fc32eb28f15
  - [net-next,32/33] net: phy: nxp-c45-tja11xx: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/af86c0a58007
  - [net-next,33/33] net: wan: slic_ds26522: Remove comma after sentinel-entry in match-table
    https://git.kernel.org/netdev/net-next/c/8afd6adb0717

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html