[dpdk-test-report] |WARNING| pw32975 [PATCH v2 10/16] net/axgbe:	add transmit and receive data path apis
    checkpatch at dpdk.org 
    checkpatch at dpdk.org
       
    Fri Jan  5 10:54:22 CET 2018
    
    
  
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/32975
_coding style issues_
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'error_status != AXGBE_L3_CSUM_ERR'
#240: FILE: drivers/net/axgbe/axgbe_rxtx.c:371:
+			if ((error_status != AXGBE_L3_CSUM_ERR) &&
+			    (error_status != AXGBE_L4_CSUM_ERR)) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'error_status != AXGBE_L4_CSUM_ERR'
#240: FILE: drivers/net/axgbe/axgbe_rxtx.c:371:
+			if ((error_status != AXGBE_L3_CSUM_ERR) &&
+			    (error_status != AXGBE_L4_CSUM_ERR)) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tx_status == DMA_TPS_STOPPED'
#382: FILE: drivers/net/axgbe/axgbe_rxtx.c:597:
+		if ((tx_status == DMA_TPS_STOPPED) ||
+		    (tx_status == DMA_TPS_SUSPENDED))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tx_status == DMA_TPS_SUSPENDED'
#382: FILE: drivers/net/axgbe/axgbe_rxtx.c:597:
+		if ((tx_status == DMA_TPS_STOPPED) ||
+		    (tx_status == DMA_TPS_SUSPENDED))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mask == PKT_TX_TCP_CKSUM'
#488: FILE: drivers/net/axgbe/axgbe_rxtx.c:703:
+	if ((mask == PKT_TX_TCP_CKSUM) || (mask == PKT_TX_UDP_CKSUM))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mask == PKT_TX_UDP_CKSUM'
#488: FILE: drivers/net/axgbe/axgbe_rxtx.c:703:
+	if ((mask == PKT_TX_TCP_CKSUM) || (mask == PKT_TX_UDP_CKSUM))
total: 0 errors, 0 warnings, 6 checks, 756 lines checked
    
    
More information about the test-report
mailing list