|WARNING| pw156834 [PATCH v3 3/4] net/intel: add config queue support to vCPF
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Sep 23 11:32:06 CEST 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/156834
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ptr' - possible side-effects?
#815: FILE: drivers/net/intel/idpf/base/idpf_osdep.h:364:
+#define idpf_struct_size(ptr, field, num) \
+ (sizeof(*(ptr)) + sizeof(*(ptr)->field) * (num))
CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'field' may be better as '(field)' to avoid precedence issues
#815: FILE: drivers/net/intel/idpf/base/idpf_osdep.h:364:
+#define idpf_struct_size(ptr, field, num) \
+ (sizeof(*(ptr)) + sizeof(*(ptr)->field) * (num))
total: 0 errors, 0 warnings, 2 checks, 750 lines checked
More information about the test-report
mailing list