From: WANG Cong Date: Sun, 14 Aug 2016 05:34:58 +0000 (-0700) Subject: net_sched: fix a typo in tc_for_each_action() X-Git-Tag: v4.14-rc1~2626^2^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c23c3e705691cfb99c94f2760df2b456fe45194;p=platform%2Fkernel%2Flinux-rpi.git net_sched: fix a typo in tc_for_each_action() It is harmless because all users pass 'a' to this macro. Fixes: 00175aec941e ("net/sched: Macro instead of CONFIG_NET_CLS_ACT ifdef") Cc: Amir Vadai Signed-off-by: Cong Wang Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller --- diff --git a/include/net/act_api.h b/include/net/act_api.h index 41e6a24..f53ee9d 100644 --- a/include/net/act_api.h +++ b/include/net/act_api.h @@ -193,7 +193,7 @@ int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int); (list_empty(&(_exts)->actions)) #define tc_for_each_action(_a, _exts) \ - list_for_each_entry(a, &(_exts)->actions, list) + list_for_each_entry(_a, &(_exts)->actions, list) #define tc_single_action(_exts) \ (list_is_singular(&(_exts)->actions))