[dpdk-test-report] |WARNING| pw21970 [PATCH v2 36/61] net/qede/base: add API for using MFW resource lock
checkpatch at dpdk.org
checkpatch at dpdk.org
Sun Mar 19 11:10:38 CET 2017
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/21970
_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