From 435d4b4aa9c862d2a3bf9e7c95725a938d264a2b Mon Sep 17 00:00:00 2001 From: Siddharth Vadapalli Date: Fri, 4 Sep 2026 10:06:31 +0530 Subject: [PATCH] net: spacemit: k1_emac: 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. Acked-by: Vivian Wang Reviewed-by: Troy Mitchell Signed-off-by: Siddharth Vadapalli Link: https://patch.msgid.link/20260904043724.2955444-26-s-vadapalli@ti.com Signed-off-by: Jakub Kicinski --- drivers/net/ethernet/spacemit/k1_emac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/spacemit/k1_emac.c b/drivers/net/ethernet/spacemit/k1_emac.c index f7f16397a2c2..29385d78fc4b 100644 --- a/drivers/net/ethernet/spacemit/k1_emac.c +++ b/drivers/net/ethernet/spacemit/k1_emac.c @@ -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);