|WARNING| pw156800 [PATCH 3/4] net/intel: add config queue support to vCPF
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Sep 22 08:18:45 CEST 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/156800
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <vCPF_FID>
#101: FILE: drivers/net/intel/cpfl/cpfl_ethdev.c:32:
+#define vCPF_FID 0
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ptr' - possible side-effects?
#810: 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
#810: 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, 3 checks, 750 lines checked
More information about the test-report
mailing list