|WARNING| pw159130 [RFC 5/8] ethdev: avoid possible overflow in xstat names

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Dec 2 18:26:27 CET 2025


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

_coding style issues_


WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#117: FILE: lib/ethdev/rte_ethdev.c:3506:
+			cc = snprintf(xstats_names[cnt_used_entries].name, sizeof(xstats_names[0].name),

WARNING:LONG_LINE_COMMENT: line length of 103 exceeds 100 columns
#121: FILE: lib/ethdev/rte_ethdev.c:3510:
+			/* could only happen if a long string was added to eth_dev_rxq_stats_strings */

WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#138: FILE: lib/ethdev/rte_ethdev.c:3523:
+			cc = snprintf(xstats_names[cnt_used_entries].name, sizeof(xstats_names[0].name),

WARNING:LONG_LINE_COMMENT: line length of 103 exceeds 100 columns
#141: FILE: lib/ethdev/rte_ethdev.c:3526:
+			/* could only happen if a long string was added to eth_dev_rxq_stats_strings */

total: 0 errors, 4 warnings, 39 lines checked


More information about the test-report mailing list