|WARNING| pw134960 [PATCH] examples/packet_ordering: fix segfault in disable_reorder mode

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Dec 8 13:43:10 CET 2023


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#63: 
When reorder is enabled, send_thread uses sequence number generated in rx_thread (Line 459) to enforce packet ordering. Otherwise rx_thread just sends any packet it receives.

WARNING:BRACES: braces {} are not necessary for single statement blocks
#83: FILE: examples/packet_ordering/main.c:459:
+					for (i = 0; i < nb_rx_pkts;) {
+						*rte_reorder_seqn(pkts[i++]) = seqn++;              
+					}

ERROR:TRAILING_WHITESPACE: trailing whitespace
#84: FILE: examples/packet_ordering/main.c:460:
+^I^I^I^I^I^I*rte_reorder_seqn(pkts[i++]) = seqn++;              $

ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)

total: 2 errors, 2 warnings, 13 lines checked


More information about the test-report mailing list