[dpdk-test-report] |WARNING| pw76245 [PATCH v1 42/42] net/txgbe: add register dump support

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Sep 9 01:29:15 CEST 2020


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'regs->length == 0'
#193: FILE: drivers/net/txgbe/txgbe_ethdev.c:3072:
+	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)'
#193: FILE: drivers/net/txgbe/txgbe_ethdev.c:3072:
+	if ((regs->length == 0) ||
+	    (regs->length == (uint32_t)txgbe_get_reg_length(dev))) {

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


More information about the test-report mailing list