|WARNING| pw130691 [PATCH v2 3/3] net/tap: rework checksum offloading

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Aug 23 18:02:55 CEST 2023


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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#216: FILE: drivers/net/tap/rte_eth_tap.c:574:
+			unsigned hdrlens = mbuf->l2_len + mbuf->l3_len;

CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#256: FILE: drivers/net/tap/rte_eth_tap.c:600:
+			pmbufs[i] = mbuf = seg;

total: 0 errors, 1 warnings, 1 checks, 255 lines checked


More information about the test-report mailing list