[dpdk-test-report] |WARNING| pw22802 [PATCH v5 36/62] net/qede/base: add API for using MFW resource lock

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Mar 30 02:10:57 CEST 2017


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'name' - possible side-effects?
#36: FILE: drivers/net/qede/base/ecore.h:92:
+#define ECORE_MFW_SET_FIELD(name, field, value)				\
+do {									\
+	(name) &= ~((field ## _MASK) << (field ## _SHIFT));		\
+	(name) |= (((value) << (field ## _SHIFT)) & (field ## _MASK));	\
+} while (0)

total: 0 errors, 0 warnings, 1 checks, 215 lines checked


More information about the test-report mailing list