* |WARNING| pw156834 [PATCH v3 3/4] net/intel: add config queue support to vCPF
[not found] <20250923125455.1484992-4-praveen.shetty@intel.com>
@ 2025-09-23 9:32 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-09-23 9:32 UTC (permalink / raw)
To: test-report; +Cc: Shetty, Praveen
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-23 9:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20250923125455.1484992-4-praveen.shetty@intel.com>
2025-09-23 9:32 ` |WARNING| pw156834 [PATCH v3 3/4] net/intel: add config queue support to vCPF checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).