|WARNING| pw162469 [RFC PATCH v1 03/21] net/intel/common: add utility functions

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Mar 16 18:33:06 CET 2026


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'field_ptr' - possible side-effects?
#181: FILE: drivers/net/intel/common/flow_util.h:98:
+#define CI_FIELD_IS_ZERO_OR_MASKED(field_ptr) \
+	ci_is_all_zero_or_masked((field_ptr), sizeof(*(field_ptr)))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'field_ptr' - possible side-effects?
#189: FILE: drivers/net/intel/common/flow_util.h:106:
+#define CI_FIELD_IS_ZERO(field_ptr) \
+	ci_is_all_byte((field_ptr), sizeof(*(field_ptr)), 0x00)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'field_ptr' - possible side-effects?
#197: FILE: drivers/net/intel/common/flow_util.h:114:
+#define CI_FIELD_IS_MASKED(field_ptr) \
+	ci_is_all_byte((field_ptr), sizeof(*(field_ptr)), 0xFF)

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


More information about the test-report mailing list