[dpdk-test-report] |WARNING| pw66282 [PATCH v3] net/axgbe: add support for Scattered Rx

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Mar 5 06:27:07 CET 2020


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

_coding style issues_

Must be a reply to the first patch (--in-reply-to).


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

CHECK:LOGICAL_CONTINUATIONS: Logical continuations should be on the previous line
#260: FILE: drivers/net/axgbe/axgbe_rxtx.c:365:
+			if ((error_status != AXGBE_L3_CSUM_ERR)
+				&& (error_status != AXGBE_L4_CSUM_ERR)) {

total: 0 errors, 0 warnings, 3 checks, 214 lines checked


More information about the test-report mailing list