* [dpdk-test-report] |WARNING| pw35064 [PATCH v4 2/2] net/failsafe: fix calling device during RMV events
[not found] <1518092427-4333-3-git-send-email-matan@mellanox.com>
@ 2018-02-08 12:22 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-02-08 12:22 UTC (permalink / raw)
To: test-report; +Cc: Matan Azrad
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/35064
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 's' - possible side-effects?
#337: FILE: drivers/net/failsafe/failsafe_private.h:266:
+#define FOREACH_SUBDEV_STATE_SAFE(s, i, dev, state) \
+ for (s = fs_find_next((dev), 0, state, 1, &i); \
+ s != NULL; \
+ s = fs_find_next((dev), i + 1, state, 1, &i))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i' - possible side-effects?
#337: FILE: drivers/net/failsafe/failsafe_private.h:266:
+#define FOREACH_SUBDEV_STATE_SAFE(s, i, dev, state) \
+ for (s = fs_find_next((dev), 0, state, 1, &i); \
+ s != NULL; \
+ s = fs_find_next((dev), i + 1, state, 1, &i))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev' - possible side-effects?
#337: FILE: drivers/net/failsafe/failsafe_private.h:266:
+#define FOREACH_SUBDEV_STATE_SAFE(s, i, dev, state) \
+ for (s = fs_find_next((dev), 0, state, 1, &i); \
+ s != NULL; \
+ s = fs_find_next((dev), i + 1, state, 1, &i))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'state' - possible side-effects?
#337: FILE: drivers/net/failsafe/failsafe_private.h:266:
+#define FOREACH_SUBDEV_STATE_SAFE(s, i, dev, state) \
+ for (s = fs_find_next((dev), 0, state, 1, &i); \
+ s != NULL; \
+ s = fs_find_next((dev), i + 1, state, 1, &i))
total: 0 errors, 0 warnings, 4 checks, 269 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-08 12:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1518092427-4333-3-git-send-email-matan@mellanox.com>
2018-02-08 12:22 ` [dpdk-test-report] |WARNING| pw35064 [PATCH v4 2/2] net/failsafe: fix calling device during RMV events 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).