|WARNING| pw164969 [PATCH v7 03/27] net/intel/common: add common flow action parsing

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 4 18:20:14 CEST 2026


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'qnum == 0'
#238: FILE: drivers/net/intel/common/flow_check.h:137:
+	if ((qnum == 0) != (rss->queue == NULL)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rss->queue == NULL'
#238: FILE: drivers/net/intel/common/flow_check.h:137:
+	if ((qnum == 0) != (rss->queue == NULL)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rss->key_len == 0'
#261: FILE: drivers/net/intel/common/flow_check.h:160:
+	if ((rss->key_len == 0) != (rss->key == NULL)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rss->key == NULL'
#261: FILE: drivers/net/intel/common/flow_check.h:160:
+	if ((rss->key_len == 0) != (rss->key == NULL)) {

WARNING:MACRO_ARG_UNUSED: Argument 'level' is not used in function-like macro
#415: FILE: drivers/net/intel/common/log.h:24:
+#define CI_DRV_LOG(level, fmt, ...) do { } while (0)

WARNING:MACRO_ARG_UNUSED: Argument 'fmt' is not used in function-like macro
#415: FILE: drivers/net/intel/common/log.h:24:
+#define CI_DRV_LOG(level, fmt, ...) do { } while (0)

total: 0 errors, 2 warnings, 4 checks, 324 lines checked
Warning in drivers/net/intel/common/log.h:
Prefer RTE_LOG_LINE/RTE_LOG_DP_LINE


More information about the test-report mailing list