[dpdk-test-report] |WARNING| pw73218 [PATCH 20/20] net/bnxt: use byte/pkt count shift/masks from the device template

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jul 6 10:34:31 CEST 2020


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'd' - possible side-effects?
#160: FILE: drivers/net/bnxt/tf_ulp/ulp_fc_mgr.h:19:
+#define FLOW_CNTR_PKTS(v, d) (((v) & (d)->packet_count_mask) >> \
+		(d)->packet_count_shift)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'd' - possible side-effects?
#162: FILE: drivers/net/bnxt/tf_ulp/ulp_fc_mgr.h:21:
+#define FLOW_CNTR_BYTES(v, d) (((v) & (d)->byte_count_mask) >> \
+		(d)->byte_count_shift)

total: 0 errors, 0 warnings, 2 checks, 85 lines checked


More information about the test-report mailing list