[dpdk-test-report] |WARNING| pw70723 [PATCH v1] net/axgbe: add support for set MTU API

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jun 1 16:49:48 CEST 2020


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mtu < RTE_ETHER_MIN_MTU'
#152: FILE: drivers/net/axgbe/axgbe_ethdev.c:1267:
+	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'
#152: FILE: drivers/net/axgbe/axgbe_ethdev.c:1267:
+	if ((mtu < RTE_ETHER_MIN_MTU) || (frame_size > dev_info.max_rx_pktlen))

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


More information about the test-report mailing list