* [dpdk-test-report] |WARNING| pw29782 [PATCH v3] net/failsafe: fix calling device during RMV events
[not found] <1507243328-11287-1-git-send-email-ophirmu@mellanox.com>
@ 2017-10-05 22:44 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-10-05 22:44 UTC (permalink / raw)
To: test-report; +Cc: Ophir Munk
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/29782
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 's' - possible side-effects?
#452: FILE: drivers/net/failsafe/failsafe_private.h:241:
+#define FOREACH_SUBDEV_ACTIVE(s, i, dev) \
+ for (s = fs_find_next((dev), 0, DEV_ACTIVE, 1, &i); \
+ s != NULL; \
+ s = fs_find_next((dev), i + 1, DEV_ACTIVE, 1, &i))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i' - possible side-effects?
#452: FILE: drivers/net/failsafe/failsafe_private.h:241:
+#define FOREACH_SUBDEV_ACTIVE(s, i, dev) \
+ for (s = fs_find_next((dev), 0, DEV_ACTIVE, 1, &i); \
+ s != NULL; \
+ s = fs_find_next((dev), i + 1, DEV_ACTIVE, 1, &i))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev' - possible side-effects?
#452: FILE: drivers/net/failsafe/failsafe_private.h:241:
+#define FOREACH_SUBDEV_ACTIVE(s, i, dev) \
+ for (s = fs_find_next((dev), 0, DEV_ACTIVE, 1, &i); \
+ s != NULL; \
+ s = fs_find_next((dev), i + 1, DEV_ACTIVE, 1, &i))
total: 0 errors, 0 warnings, 3 checks, 180 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-05 22:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1507243328-11287-1-git-send-email-ophirmu@mellanox.com>
2017-10-05 22:44 ` [dpdk-test-report] |WARNING| pw29782 [PATCH v3] 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).