|WARNING| pw163973 [PATCH] Updated skeleton example code to better emit error
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed May 13 14:34:16 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/163973
_coding style issues_
WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#85:
Previously, the program would check if the number of ports is even and if not, would exit with an error stating "the number of ports must be even". To provide more information, the program now states how many ports were found. This is especially helpful if 0 ports were found, as it explicitly states DPDK wasn't able to find any ports, rather than making the user troubleshoot this.
WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#99: FILE: examples/skeleton/basicfwd.c:191:
+ rte_exit(EXIT_FAILURE, "Error: number of ports must be even, found %u ports
", nb_ports);
ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)
total: 1 errors, 2 warnings, 13 lines checked
More information about the test-report
mailing list