automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw35072 [PATCH v5 3/3] net/failsafe: fix calling device during RMV events
       [not found] <1518107653-15466-4-git-send-email-matan@mellanox.com>
@ 2018-02-08 16:36 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-02-08 16:36 UTC (permalink / raw)
  To: test-report; +Cc: Matan Azrad

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 's' - possible side-effects?
#184: FILE: drivers/net/failsafe/failsafe_private.h:255:
+#define FOREACH_SUBDEV_STATE_UNSAFE(s, i, dev, state)	\
+	for (s = fs_find_next((dev), 0, state, 0, &i);	\
+	     s != NULL;					\
+	     s = fs_find_next((dev), i + 1, state, 0, &i))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i' - possible side-effects?
#184: FILE: drivers/net/failsafe/failsafe_private.h:255:
+#define FOREACH_SUBDEV_STATE_UNSAFE(s, i, dev, state)	\
+	for (s = fs_find_next((dev), 0, state, 0, &i);	\
+	     s != NULL;					\
+	     s = fs_find_next((dev), i + 1, state, 0, &i))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev' - possible side-effects?
#184: FILE: drivers/net/failsafe/failsafe_private.h:255:
+#define FOREACH_SUBDEV_STATE_UNSAFE(s, i, dev, state)	\
+	for (s = fs_find_next((dev), 0, state, 0, &i);	\
+	     s != NULL;					\
+	     s = fs_find_next((dev), i + 1, state, 0, &i))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'state' - possible side-effects?
#184: FILE: drivers/net/failsafe/failsafe_private.h:255:
+#define FOREACH_SUBDEV_STATE_UNSAFE(s, i, dev, state)	\
+	for (s = fs_find_next((dev), 0, state, 0, &i);	\
+	     s != NULL;					\
+	     s = fs_find_next((dev), i + 1, state, 0, &i))

total: 0 errors, 0 warnings, 4 checks, 171 lines checked

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

only message in thread, other threads:[~2018-02-08 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1518107653-15466-4-git-send-email-matan@mellanox.com>
2018-02-08 16:36 ` [dpdk-test-report] |WARNING| pw35072 [PATCH v5 3/3] 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).