[dpdk-test-report] |WARNING| pw50925 [PATCH v2 04/37] net/ice/base: add helper macros

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Mar 7 23:30:00 CET 2019


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse '_t' - possible side-effects?
#211: FILE: drivers/net/ice/base/ice_type.h:22:
+#define MIN_T(_t, _a, _b)	min((_t)(_a), (_t)(_b))

CHECK:MACRO_ARG_REUSE: Macro argument reuse '_i' - possible side-effects?
#221: FILE: drivers/net/ice/base/ice_type.h:386:
+#define ice_for_each_traffic_class(_i)	\
+	for ((_i) = 0; (_i) < ICE_MAX_TRAFFIC_CLASS; (_i)++)

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


More information about the test-report mailing list