[dpdk-test-report] |WARNING| pw52100 [PATCH v3 04/14] drivers/net/ipn3ke: add IPN3KE representor of PMD driver

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Apr 2 15:57:56 CEST 2019


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

_coding style issues_


CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#216: FILE: drivers/net/ipn3ke/ipn3ke_representor.c:129:
+	dev->data->mac_addrs->addr_bytes[ETHER_ADDR_LEN-1] =
 	                                               ^

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mtu < ETHER_MIN_MTU'
#846: 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'
#846: 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 '('
#853: FILE: drivers/net/ipn3ke/ipn3ke_representor.c:766:
+		IPN3KE_AFU_PMD_ERR(

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

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

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

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


More information about the test-report mailing list