[dpdk-test-report] |WARNING| pw28898 [PATCH 22/53] net/qede/base: rename MFW get/set field defines

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Sep 19 03:36:28 CEST 2017


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

_coding style issues_


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

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


More information about the test-report mailing list