[dpdk-test-report] |WARNING| pw31624 [PATCH v2 09/14] net/avf: enable ops for MTU setting

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Nov 27 12:24:49 CET 2017


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mtu < ETHER_MIN_MTU'
#51: FILE: drivers/net/avf/avf_ethdev.c:825:
+	if ((mtu < ETHER_MIN_MTU) || (frame_size > AVF_FRAME_SIZE_MAX))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'frame_size > AVF_FRAME_SIZE_MAX'
#51: FILE: drivers/net/avf/avf_ethdev.c:825:
+	if ((mtu < ETHER_MIN_MTU) || (frame_size > AVF_FRAME_SIZE_MAX))

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


More information about the test-report mailing list