|WARNING| pw161002 [PATCH v5 03/10] net/rtap: add Rx/Tx with scatter/gather support
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Feb 9 19:41:32 CET 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/161002
_coding style issues_
WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#231: FILE: drivers/net/rtap/rtap_rxtx.c:29:
+static_assert(RTE_PKTMBUF_HEADROOM >= sizeof(struct virtio_net_hdr),
WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#276: FILE: drivers/net/rtap/rtap_rxtx.c:74:
+ return 0;
+ } else {
WARNING:BRACES: braces {} are not necessary for any arm of this statement
#538: FILE: drivers/net/rtap/rtap_rxtx.c:336:
+ if (unlikely(n < 0)) {
[...]
+ } else if (unlikely(n != (int)num_sqe)) {
[...]
total: 0 errors, 3 warnings, 0 checks, 805 lines checked
More information about the test-report
mailing list