[dpdk-test-report] |WARNING| pw45681 [v3, 17/22] net/atlantic: MAC address manipulations

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Sep 29 12:33:49 CEST 2018


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mtu < ETHER_MIN_MTU'
#142: FILE: drivers/net/atlantic/atl_ethdev.c:1258:
+	if ((mtu < ETHER_MIN_MTU) || (frame_size > dev_info.max_rx_pktlen))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'frame_size > dev_info.max_rx_pktlen'
#142: FILE: drivers/net/atlantic/atl_ethdev.c:1258:
+	if ((mtu < ETHER_MIN_MTU) || (frame_size > dev_info.max_rx_pktlen))

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


More information about the test-report mailing list