|WARNING| pw119146 [PATCH v12 12/18] net/idpf: support packet type get

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 26 12:15:26 CEST 2022


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#201: 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