automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw64756 [PATCH] net/ice: fix flow fdir/switch memory leak.
       [not found] <20200116163836.15696-1-taox.zhu@intel.com>
@ 2020-01-16  8:02 ` checkpatch
  2020-01-16 13:00 ` [dpdk-test-report] |SUCCESS| pw64756 " 0-day Robot
  1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2020-01-16  8:02 UTC (permalink / raw)
  To: test-report; +Cc: taox.zhu

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pos' - possible side-effects?
#82: FILE: drivers/net/ice/base/ice_osdep.h:346:
+#define LIST_FOR_EACH_ENTRY_SAFE(pos, tmp, head, type, member)		       \
+	for ((pos) = (head)->lh_first ?					       \
+		     container_of((head)->lh_first, struct type, member) :     \
+		     0,                                                        \
+		     (tmp) = (pos) == 0 ? 0 : ((pos)->member.next.le_next ?    \
+		     container_of((pos)->member.next.le_next, struct type,     \
+				  member) :				       \
+		     0);						       \
+	     (pos);							       \
+	     (pos) = (tmp),						       \
+	     (tmp) = (pos) == 0 ? 0 : ((tmp)->member.next.le_next ?	       \
+		     container_of((pos)->member.next.le_next, struct type,     \
+				  member) :				       \
+		     0))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'tmp' - possible side-effects?
#82: FILE: drivers/net/ice/base/ice_osdep.h:346:
+#define LIST_FOR_EACH_ENTRY_SAFE(pos, tmp, head, type, member)		       \
+	for ((pos) = (head)->lh_first ?					       \
+		     container_of((head)->lh_first, struct type, member) :     \
+		     0,                                                        \
+		     (tmp) = (pos) == 0 ? 0 : ((pos)->member.next.le_next ?    \
+		     container_of((pos)->member.next.le_next, struct type,     \
+				  member) :				       \
+		     0);						       \
+	     (pos);							       \
+	     (pos) = (tmp),						       \
+	     (tmp) = (pos) == 0 ? 0 : ((tmp)->member.next.le_next ?	       \
+		     container_of((pos)->member.next.le_next, struct type,     \
+				  member) :				       \
+		     0))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'head' - possible side-effects?
#82: FILE: drivers/net/ice/base/ice_osdep.h:346:
+#define LIST_FOR_EACH_ENTRY_SAFE(pos, tmp, head, type, member)		       \
+	for ((pos) = (head)->lh_first ?					       \
+		     container_of((head)->lh_first, struct type, member) :     \
+		     0,                                                        \
+		     (tmp) = (pos) == 0 ? 0 : ((pos)->member.next.le_next ?    \
+		     container_of((pos)->member.next.le_next, struct type,     \
+				  member) :				       \
+		     0);						       \
+	     (pos);							       \
+	     (pos) = (tmp),						       \
+	     (tmp) = (pos) == 0 ? 0 : ((tmp)->member.next.le_next ?	       \
+		     container_of((pos)->member.next.le_next, struct type,     \
+				  member) :				       \
+		     0))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'member' - possible side-effects?
#82: FILE: drivers/net/ice/base/ice_osdep.h:346:
+#define LIST_FOR_EACH_ENTRY_SAFE(pos, tmp, head, type, member)		       \
+	for ((pos) = (head)->lh_first ?					       \
+		     container_of((head)->lh_first, struct type, member) :     \
+		     0,                                                        \
+		     (tmp) = (pos) == 0 ? 0 : ((pos)->member.next.le_next ?    \
+		     container_of((pos)->member.next.le_next, struct type,     \
+				  member) :				       \
+		     0);						       \
+	     (pos);							       \
+	     (pos) = (tmp),						       \
+	     (tmp) = (pos) == 0 ? 0 : ((tmp)->member.next.le_next ?	       \
+		     container_of((pos)->member.next.le_next, struct type,     \
+				  member) :				       \
+		     0))

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-test-report] |SUCCESS| pw64756 net/ice: fix flow fdir/switch memory leak.
       [not found] <20200116163836.15696-1-taox.zhu@intel.com>
  2020-01-16  8:02 ` [dpdk-test-report] |WARNING| pw64756 [PATCH] net/ice: fix flow fdir/switch memory leak checkpatch
@ 2020-01-16 13:00 ` 0-day Robot
  1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2020-01-16 13:00 UTC (permalink / raw)
  To: test-report; +Cc: robot

From: robot@bytheb.org

Test-Label: travis-robot
Test-Status: SUCCESS
http://dpdk.org/patch/64756

_Travis build: passed_
Build URL: https://travis-ci.com/ovsrobot/dpdk/builds/144692479

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-16 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200116163836.15696-1-taox.zhu@intel.com>
2020-01-16  8:02 ` [dpdk-test-report] |WARNING| pw64756 [PATCH] net/ice: fix flow fdir/switch memory leak checkpatch
2020-01-16 13:00 ` [dpdk-test-report] |SUCCESS| pw64756 " 0-day Robot

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).