Thread (19 messages) flat view 19 messages, 4 authors, 2016-08-14

Re: [Patch net 5/5] net_sched: convert tcf_exts from list to flex_array

From: Cong Wang <hidden>
Date: 2016-08-09 18:02:30

On Tue, Aug 9, 2016 at 1:03 AM, Amir Vadai [off-list ref] wrote:
quoted
-#define tc_single_action(_exts) \
-       (list_is_singular(&(_exts)->actions))
+#define tc_no_actions(_exts)  (&(_exts)->nr_actions == 0)
+#define tc_single_action(_exts) (&(_exts)->nr_actions == 1)
Should remove the '&' here.
Good catch! I even didn't notice the '&' there. :-/

I will wait for Jamal's comments before sending v2.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help