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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Feb 28 06:56:22 CET 2019


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse '_t' - possible side-effects?
#210: 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?
#220: 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