|WARNING| pw117825 [PATCH] gro : fix pkt length when extra bytes are padded to ethernet frame

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 10 19:52:59 CEST 2022


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#114: FILE: lib/gro/gro_tcp4.c:224:
+	if (unlikely(pkt->pkt_len > (uint32_t)(ip_len + pkt->l2_len))) {
+		pkt->pkt_len = ip_len + pkt->l2_len;
+	}

total: 0 errors, 1 warnings, 20 lines checked


More information about the test-report mailing list