[dpdk-test-report] |WARNING| pw48287 [03/19] net/ice: support device and queue ops

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Nov 23 07:52:48 CET 2018


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

_coding style issues_


CHECK:BRACES: Unbalanced braces around else statement
#146: FILE: drivers/net/ice/ice_ethdev.c:693:
+	} else

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#559: FILE: drivers/net/ice/ice_lan_rxtx.c:252:
+ice_check_rx_burst_bulk_alloc_preconditions(

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#596: FILE: drivers/net/ice/ice_lan_rxtx.c:289:
+	unsigned i;

WARNING:TYPO_SPELLING: 'disble' may be misspelled - perhaps 'disable'?
#872: FILE: drivers/net/ice/ice_lan_rxtx.c:565:
+		PMD_DRV_LOG(DEBUG, "Failed to disble Lan Tx queue");

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tx_rs_thresh > 1'
#1125: FILE: drivers/net/ice/ice_lan_rxtx.c:818:
+	if ((tx_rs_thresh > 1) && (tx_conf->tx_thresh.wthresh != 0)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tx_conf->tx_thresh.wthresh != 0'
#1125: FILE: drivers/net/ice/ice_lan_rxtx.c:818:
+	if ((tx_rs_thresh > 1) && (tx_conf->tx_thresh.wthresh != 0)) {

total: 0 errors, 2 warnings, 4 checks, 1216 lines checked


More information about the test-report mailing list