[dpdk-test-report] |WARNING| pw27809 [PATCH v3 37/40] net/dpaa: add support for checksum offload

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Aug 25 12:27:45 CEST 2017


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

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <ETHER_TYPE_IPv4>
#84: FILE: drivers/net/dpaa/dpaa_rxtx.c:228:
+		if (eth_hdr->ether_type == htons(ETHER_TYPE_IPv4))

CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_buf' may be better as '(_buf)' to avoid precedence issues
#189: FILE: drivers/net/dpaa/dpaa_rxtx.h:276:
+#define GET_TX_PRS(_buf) \
+	(struct dpaa_eth_parse_results_t *)((uint8_t *)_buf + DEFAULT_TX_ICEOF)

total: 0 errors, 0 warnings, 2 checks, 150 lines checked


More information about the test-report mailing list