|WARNING| pw115702 [PATCH 1/4] net/axgbe: fix scattered Rx function

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 1 10:09:16 CEST 2022


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'error_status != AXGBE_L3_CSUM_ERR'
#155: FILE: drivers/net/axgbe/axgbe_rxtx.c:403:
+				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'
#155: FILE: drivers/net/axgbe/axgbe_rxtx.c:403:
+				if ((error_status != AXGBE_L3_CSUM_ERR) &&
+						(error_status !=
+						 AXGBE_L4_CSUM_ERR)) {

total: 0 errors, 0 warnings, 2 checks, 44 lines checked


More information about the test-report mailing list