[dpdk-test-report] |WARNING| pw76244 [PATCH v1 41/42] net/txgbe: add MTU set operation

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Sep 9 01:29:13 CEST 2020


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mtu < RTE_ETHER_MIN_MTU'
#101: FILE: drivers/net/txgbe/txgbe_ethdev.c:2761:
+	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'
#101: FILE: drivers/net/txgbe/txgbe_ethdev.c:2761:
+	if ((mtu < RTE_ETHER_MIN_MTU) || (frame_size > dev_info.max_rx_pktlen))

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


More information about the test-report mailing list