Remove comma after sentinel entries in match table
Subsystems (24)
Siddharth Vadapalli
reviewercover 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 commit6ebcf5074cff 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
Siddharth Vadapalli
reviewerPATCH 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 2/33 can: c_can: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 3/33 can: flexcan: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 4/33 can: ifi_canfd: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 5/33 can: m_can: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>
+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
Siddharth Vadapalli
reviewerPATCH 6/33 can: sja1000: f81601: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 7/33 can: sja1000_platform: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 8/33 net: dsa: b53: mdio: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 9/33 net: dsa: b53: srab: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 10/33 net: dsa: bcm_sf2: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 11/33 net: dsa: hellcreek: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>
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@@ -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);
Siddharth Vadapalli
reviewerPATCH 12/33 net: dsa: lan9303: i2c: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>
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@@ -96,7 +96,7 @@ MODULE_DEVICE_TABLE(i2c, lan9303_i2c_id);
static const structof_device_idlan9303_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);
Siddharth Vadapalli
reviewerPATCH 13/33 net: dsa: lan9303: mdio: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>
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@@ -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);
Siddharth Vadapalli
reviewerPATCH 14/33 net: dsa: mxl-gsw1xx: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>
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@@ -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);
Re: [PATCH net-next 14/33] net: dsa: mxl-gsw1xx: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliQuoted 13 lines · Siddharth Vadapalli
Since sentinel is the last entry and we do not expect further entries following it, remove the comma.
Signed-off-by Siddharth Vadapalli <[email protected]>--- drivers/net/dsa/lantiq/mxl-gsw1xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/dsa/lantiq/mxl-gsw1xx.c +0
-0
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 */ } };
Siddharth Vadapalli
reviewerPATCH 15/33 net: dsa: mt7530: mdio: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 16/33 net: dsa: mt7530: mmio: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>--- drivers/net/dsa/mt7530-mmio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/dsa/mt7530-mmio.c +0
-0
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);
Siddharth Vadapalli
reviewerPATCH 17/33 net: dsa: mv88e6060: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>
Quoted 17 lines
---
drivers/net/dsa/mv88e6060.c | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/dsa/mv88e6060.c +1
-1@@ -362,7 +362,7 @@ static const struct of_device_id mv88e6060_of_match[] = { { .compatible = "marvell,mv88e6060", }, - { /* sentinel */ }, + {/* sentinel */ } };
static structmdio_drivermv88e6060_driver= {
Re: [PATCH net-next 17/33] net: dsa: mv88e6060: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliQuoted 4 lines · Siddharth Vadapalli
Since sentinel is the last entry and we do not expect further entries following it, remove the comma.
Signed-off-by Siddharth Vadapalli <[email protected]>
Yours,
Linus Walleij
Siddharth Vadapalli
reviewerPATCH 18/33 net: dsa: mv88e6xxx: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>
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@@ -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);
Re: [PATCH net-next 18/33] net: dsa: mv88e6xxx: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliQuoted 4 lines · Siddharth Vadapalli
Since sentinel is the last entry and we do not expect further entries following it, remove the comma.
Signed-off-by Siddharth Vadapalli <[email protected]>
Yours,
Linus Walleij
Siddharth Vadapalli
reviewerPATCH 19/33 net: dsa: qca8k: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 20/33 net: dsa: realtek: rtl8365mb: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>--- drivers/net/dsa/realtek/rtl8365mb_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/dsa/realtek/rtl8365mb_main.c +1
-2@@ -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
Re: [PATCH net-next 20/33] net: dsa: realtek: rtl8365mb: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliQuoted 4 lines · Siddharth Vadapalli
Since sentinel is the last entry and we do not expect further entries following it, remove the comma.
Signed-off-by Siddharth Vadapalli <[email protected]>
Yours,
Linus Walleij
Siddharth Vadapalli
reviewerPATCH 21/33 net: dsa: realtek: rtl8366rb: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Re: [PATCH net-next 21/33] net: dsa: realtek: rtl8366rb: 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.
Signed-off-by Siddharth Vadapalli <[email protected]>
Yours,
Linus Walleij
Siddharth Vadapalli
reviewerPATCH 22/33 net: dsa: rzn1_a5psw: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>
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
Siddharth Vadapalli
reviewerPATCH 23/33 net: dsa: sja1105: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 24/33 net: bcmasp: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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-tableSince sentinel is the last entry and we do not expect further entries following it, remove the comma.
Signed-off-by Siddharth Vadapalli <[email protected]>--- drivers/net/ethernet/broadcom/asp2/bcmasp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/net/ethernet/broadcom/asp2/bcmasp.c +2
-3@@ -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?
Siddharth Vadapalli
reviewerPATCH 25/33 net: spacemit: k1_emac: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>--- drivers/net/ethernet/spacemit/k1_emac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/net/ethernet/spacemit/k1_emac.c +1
-1@@ -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
Re: [PATCH net-next 25/33] net: spacemit: k1_emac: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliQuoted 4 lines · Siddharth Vadapalli
Since sentinel is the last entry and we do not expect further entries following it, remove the comma.
Signed-off-by Siddharth Vadapalli <[email protected]>
Signature · 1 line
Troy Mitchell
Siddharth Vadapalli
reviewerPATCH 26/33 net: ti: am65-cpsw-nuss: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>
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@@ -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);
Siddharth Vadapalli
reviewerPATCH 27/33 net: ethernet: ti: cpsw: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>
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@@ -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);
Siddharth Vadapalli
reviewerPATCH 28/33 net: ethernet: ti: cpsw_new: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
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.
Signed-off-by Siddharth Vadapalli <[email protected]>
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@@ -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);
Siddharth Vadapalli
reviewerPATCH 29/33 net: mdio: bcm-iproc: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 30/33 net: mdio: bcm-unimac: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 31/33 net: pcs: xpcs-plat: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 32/33 net: phy: nxp-c45-tja11xx: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Siddharth Vadapalli
reviewerPATCH 33/33 net: wan: slic_ds26522: Remove comma after sentinel-entry in match-table
In reply to Siddharth VadapalliSince 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
@@ -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
Jakub Kicinski
maintainerQuoted 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.cdriver, 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 thedavinci_mdiodriver:
https://lore.kernel.org/r/[email protected]/
and I don't see why the cleanup is specific todavinci_mdiodriver alone, I am hoping that this series is treated identically to the patch that Geert had posted for thedavinci_mdiodriver.
Quoted 3 lines
Series is based on commit
6ebcf5074cffnet: 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?
Siddharth Vadapalli
reviewerQuoted 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.cdriver, 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 thedavinci_mdiodriver:
https://lore.kernel.org/r/[email protected]/
and I don't see why the cleanup is specific todavinci_mdiodriver alone, I am hoping that this series is treated identically to the patch that Geert had posted for thedavinci_mdiodriver.
Quoted 6 lines
Quoted 3 lines
Series is based on commit
6ebcf5074cffnet: 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.
Jakub Kicinski
maintainerQuoted 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.
Siddharth Vadapalli
reviewerQuoted 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.
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.cdriver, 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