[dpdk-test-report] |WARNING| pw79668 [PATCH v2 51/56] net/txgbe: add register dump support

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 6 11:44:24 CEST 2020


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'regs->length == 0'
#207: FILE: drivers/net/txgbe/txgbe_ethdev.c:3511:
+	if ((regs->length == 0) ||
+	    (regs->length == (uint32_t)txgbe_get_reg_length(dev))) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'regs->length == (uint32_t)txgbe_get_reg_length(dev)'
#207: FILE: drivers/net/txgbe/txgbe_ethdev.c:3511:
+	if ((regs->length == 0) ||
+	    (regs->length == (uint32_t)txgbe_get_reg_length(dev))) {

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


More information about the test-report mailing list