[dpdk-test-report] |WARNING| pw53569 [PATCH 11/11] net/hinic: add support for basic device operations

checkpatch at dpdk.org checkpatch at dpdk.org
Tue May 21 10:14:26 CEST 2019


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rq_depth > HINIC_MAX_QUEUE_DEPTH'
#696: FILE: drivers/net/hinic/hinic_pmd_ethdev.c:648:
+	if ((rq_depth > HINIC_MAX_QUEUE_DEPTH) ||
+		(rq_depth < HINIC_MIN_QUEUE_DEPTH)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rq_depth < HINIC_MIN_QUEUE_DEPTH'
#696: FILE: drivers/net/hinic/hinic_pmd_ethdev.c:648:
+	if ((rq_depth > HINIC_MAX_QUEUE_DEPTH) ||
+		(rq_depth < HINIC_MIN_QUEUE_DEPTH)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'sq_depth > HINIC_MAX_QUEUE_DEPTH'
#853: FILE: drivers/net/hinic/hinic_pmd_ethdev.c:805:
+	if ((sq_depth > HINIC_MAX_QUEUE_DEPTH) ||
+		(sq_depth < HINIC_MIN_QUEUE_DEPTH)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'sq_depth < HINIC_MIN_QUEUE_DEPTH'
#853: FILE: drivers/net/hinic/hinic_pmd_ethdev.c:805:
+	if ((sq_depth > HINIC_MAX_QUEUE_DEPTH) ||
+		(sq_depth < HINIC_MIN_QUEUE_DEPTH)) {

total: 0 errors, 0 warnings, 4 checks, 2169 lines checked


More information about the test-report mailing list