|WARNING| pw159444 [PATCH v13 10/13] net/sxe: add xstats function

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Dec 25 09:15:37 CET 2025


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/159444

_coding style issues_


ERROR:SPACING: space required after that ',' (ctx:VxV)
#207: FILE: drivers/net/sxe/pf/sxe_stats.c:93:
+int sxe_eth_stats_get(struct rte_eth_dev *eth_dev,struct rte_eth_stats *stats,
                                                  ^

WARNING:STRCPY: Prefer strscpy over strcpy - see: https://github.com/KSPP/linux/issues/88
#609: FILE: drivers/net/sxe/pf/sxe_stats.c:495:
+		strcpy(xstats_names[ids[i]].name, xstat_names_all[ids[i]].name);

ERROR:SPACING: space required after that ',' (ctx:VxV)
#739: FILE: drivers/net/sxe/pf/sxe_stats.h:35:
+int sxe_eth_stats_get(struct rte_eth_dev *eth_dev,struct rte_eth_stats *stats,
                                                  ^

total: 2 errors, 1 warnings, 0 checks, 676 lines checked


More information about the test-report mailing list