[dpdk-test-report] |WARNING| pw48998 [v5, 30/31] net/ice: support advance RX/TX

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Dec 17 08:39:58 CET 2018


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

_coding style issues_


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

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

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

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#117: FILE: drivers/net/ice/ice_lan_rxtx.c:1028:
+			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
#137: FILE: drivers/net/ice/ice_lan_rxtx.c:1048:
+	PMD_RX_LOG(DEBUG, "ice_rx_scan_hw_ring: "

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

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

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

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

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


More information about the test-report mailing list