From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: [Patch net v2 3/5] net_sched: fix a typo in tc_for_each_action() Date: Wed, 10 Aug 2016 13:16:13 -0700 Message-ID: <1470860175-10903-4-git-send-email-xiyou.wangcong@gmail.com> References: <1470860175-10903-1-git-send-email-xiyou.wangcong@gmail.com> Cc: Cong Wang , Amir Vadai To: netdev@vger.kernel.org Return-path: Received: from mail-pf0-f196.google.com ([209.85.192.196]:34651 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938637AbcHJUQk (ORCPT ); Wed, 10 Aug 2016 16:16:40 -0400 Received: by mail-pf0-f196.google.com with SMTP id g202so3377182pfb.1 for ; Wed, 10 Aug 2016 13:16:40 -0700 (PDT) In-Reply-To: <1470860175-10903-1-git-send-email-xiyou.wangcong@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: 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 --- include/net/act_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.1.0