* [dpdk-test-report] |WARNING| pw22241 [PATCH v3 36/61] net/qede/base: add API for using MFW resource lock
[not found] <1490340531-11403-37-git-send-email-rasesh.mody@cavium.com>
@ 2017-03-24 9:43 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-03-24 9:43 UTC (permalink / raw)
To: test-report; +Cc: Mody, Rasesh
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/22241
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'name' - possible side-effects?
#37: 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-24 9:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1490340531-11403-37-git-send-email-rasesh.mody@cavium.com>
2017-03-24 9:43 ` [dpdk-test-report] |WARNING| pw22241 [PATCH v3 36/61] net/qede/base: add API for using MFW resource lock checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).