[dpdk-test-report] |WARNING| pw32203 [PATCH 05/18] net/dpaa: set the correct frame size in device MTU

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Dec 13 13:08:13 CET 2017


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mtu < ETHER_MIN_MTU'
#41: FILE: drivers/net/dpaa/dpaa_ethdev.c:119:
+	if ((mtu < ETHER_MIN_MTU) || (frame_size > DPAA_MAX_RX_PKT_LEN))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'frame_size > DPAA_MAX_RX_PKT_LEN'
#41: FILE: drivers/net/dpaa/dpaa_ethdev.c:119:
+	if ((mtu < ETHER_MIN_MTU) || (frame_size > DPAA_MAX_RX_PKT_LEN))

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


More information about the test-report mailing list