[dpdk-test-report] |WARNING| pw48486 [v2, 17/20] net/ice: support advance RX/TX

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Dec 6 18:41:14 CET 2018


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

_coding style issues_


CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#75: FILE: drivers/net/ice/ice_lan_rxtx.c:1014:
+			qword1 = rte_le_to_cpu_64(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#92: FILE: drivers/net/ice/ice_lan_rxtx.c:1031:
+			qword1 = rte_le_to_cpu_64(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#103: FILE: drivers/net/ice/ice_lan_rxtx.c:1042:
+					rte_le_to_cpu_32(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#105: FILE: drivers/net/ice/ice_lan_rxtx.c:1044:
+			mb->packet_type = ptype_tbl[(uint8_t)(

WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'ice_rx_scan_hw_ring', this function's name, in a string
#125: FILE: drivers/net/ice/ice_lan_rxtx.c:1064:
+	PMD_RX_LOG(DEBUG, "ice_rx_scan_hw_ring: "

WARNING:TYPO_SPELLING: 'regsiter' may be misspelled - perhaps 'register'?
#189: FILE: drivers/net/ice/ice_lan_rxtx.c:1128:
+	/* Update rx tail regsiter */

CHECK:SPACING: spaces preferred around that '*' (ctx:WxV)
#275: FILE: drivers/net/ice/ice_lan_rxtx.c:1214:
+ice_recv_pkts_bulk_alloc(void __rte_unused *rx_queue,
                                            ^

CHECK:SPACING: spaces preferred around that '*' (ctx:WxO)
#276: FILE: drivers/net/ice/ice_lan_rxtx.c:1215:
+			 struct rte_mbuf __rte_unused **rx_pkts,
 			                              ^

CHECK:BRACES: Unbalanced braces around else statement
#413: FILE: drivers/net/ice/ice_lan_rxtx.c:1352:
+			} else

total: 0 errors, 2 warnings, 7 checks, 695 lines checked


More information about the test-report mailing list