[dpdk-test-report] |WARNING| pw51915 [PATCH v2 04/15] drivers/net/ipn3ke: add IPN3KE representor of PMD driver

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Mar 29 17:00:49 CET 2019


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mtu < ETHER_MIN_MTU'
#844: FILE: drivers/net/ipn3ke/ipn3ke_representor.c:759:
+	if ((mtu < ETHER_MIN_MTU) ||
+		(frame_size > IPN3KE_MAC_FRAME_SIZE_MAX))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'frame_size > IPN3KE_MAC_FRAME_SIZE_MAX'
#844: FILE: drivers/net/ipn3ke/ipn3ke_representor.c:759:
+	if ((mtu < ETHER_MIN_MTU) ||
+		(frame_size > IPN3KE_MAC_FRAME_SIZE_MAX))

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#851: FILE: drivers/net/ipn3ke/ipn3ke_representor.c:766:
+		IPN3KE_AFU_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#858: FILE: drivers/net/ipn3ke/ipn3ke_representor.c:773:
+		IPN3KE_AFU_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#992: FILE: drivers/net/ipn3ke/ipn3ke_representor.c:907:
+		IPN3KE_AFU_PMD_ERR(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1019: FILE: drivers/net/ipn3ke/ipn3ke_representor.c:934:
+		IPN3KE_AFU_PMD_ERR(

total: 0 errors, 0 warnings, 6 checks, 1006 lines checked


More information about the test-report mailing list