|WARNING| pw115897 [PATCH v2 06/14] net/idpf: add support for packet type get

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Sep 5 12:59:32 CEST 2022


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#163: FILE: drivers/net/idpf/idpf_rxtx.h:49:
+#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, 319 lines checked


More information about the test-report mailing list