|WARNING| pw118367 [PATCH v3 07/15] net/idpf: add support for packet type get
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Oct 18 13:18:36 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/118367
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#179: FILE: drivers/net/idpf/idpf_rxtx.h:50:
+#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, 325 lines checked
More information about the test-report
mailing list