[dpdk-test-report] |WARNING| pw79666 [PATCH v2 48/56] net/txgbe: add MTU set operation

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 6 11:44:19 CEST 2020


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mtu < RTE_ETHER_MIN_MTU'
#116: FILE: drivers/net/txgbe/txgbe_ethdev.c:3042:
+	if ((mtu < RTE_ETHER_MIN_MTU) || (frame_size > dev_info.max_rx_pktlen))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'frame_size > dev_info.max_rx_pktlen'
#116: FILE: drivers/net/txgbe/txgbe_ethdev.c:3042:
+	if ((mtu < RTE_ETHER_MIN_MTU) || (frame_size > dev_info.max_rx_pktlen))

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


More information about the test-report mailing list