|WARNING| pw119328 [PATCH v17 12/18] net/idpf: support parsing packet type

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 31 06:51:45 CET 2022


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#202: FILE: drivers/net/idpf/idpf_rxtx.h:26:
+#define IDPF_GET_PTYPE_SIZE(p) \
+	(sizeof(struct virtchnl2_ptype) + \
+	(((p)->proto_id_count ? ((p)->proto_id_count - 1) : 0) * sizeof((p)->proto_id[0])))

total: 0 errors, 0 warnings, 1 checks, 359 lines checked


More information about the test-report mailing list