automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw29133 [PATCH] net/failsafe: fix calling device during RMV events
       [not found] <1506203877-2090-1-git-send-email-ophirmu@mellanox.com>
@ 2017-09-23 21:59 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-09-23 21:59 UTC (permalink / raw)
  To: test-report; +Cc: Ophir Munk

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i' - possible side-effects?
#232: FILE: drivers/net/failsafe/failsafe_private.h:235:
+#define FOREACH_SUBDEV_ACTIVE_SAFE(s, i, dev)				\
+	for (i = fs_find_next((dev), 0, DEV_ACTIVE, 1);			\
+	     i < PRIV(dev)->subs_tail && (s = &PRIV(dev)->subs[i]);	\
+	     i = fs_find_next((dev), i + 1, DEV_ACTIVE, 1))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev' - possible side-effects?
#232: FILE: drivers/net/failsafe/failsafe_private.h:235:
+#define FOREACH_SUBDEV_ACTIVE_SAFE(s, i, dev)				\
+	for (i = fs_find_next((dev), 0, DEV_ACTIVE, 1);			\
+	     i < PRIV(dev)->subs_tail && (s = &PRIV(dev)->subs[i]);	\
+	     i = fs_find_next((dev), i + 1, DEV_ACTIVE, 1))

total: 0 errors, 0 warnings, 2 checks, 175 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-23 21:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1506203877-2090-1-git-send-email-ophirmu@mellanox.com>
2017-09-23 21:59 ` [dpdk-test-report] |WARNING| pw29133 [PATCH] 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).