|WARNING| pw119014 [PATCH v11 09/18] net/idpf: add support for packet type get
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Oct 24 15:19:15 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/119014
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#193: FILE: drivers/net/idpf/idpf_rxtx.h:24:
+#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, 351 lines checked
More information about the test-report
mailing list