From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756418AbdLVPwb (ORCPT ); Fri, 22 Dec 2017 10:52:31 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:34626 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752039AbdLVPwZ (ORCPT ); Fri, 22 Dec 2017 10:52:25 -0500 X-Google-Smtp-Source: ACJfBosfZthf1+i05PCPZYirTVrQYhzyiFSPd7/dOWbEDSG1aSRlRDFGSZ8EWswQwBZHME10VjsQLQ== From: Sudip Mukherjee To: Jamal Hadi Salim , Cong Wang , Jiri Pirko , "David S. Miller" Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Sudip Mukherjee Subject: [PATCH] net: sch: api: fix tcf_block_get Date: Fri, 22 Dec 2017 15:52:05 +0000 Message-Id: <1513957925-2544-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The build of mips bcm47xx_defconfig is failing with the error: net/sched/sch_fq_codel.c: In function 'fq_codel_init': net/sched/sch_fq_codel.c:487:8: error: too many arguments to function 'tcf_block_get' While adding the extack support, the commit missed adding it in the headers when CONFIG_NET_CLS is not defined. Fixes: 8d1a77f974ca ("net: sch: api: add extack support in tcf_block_get") Signed-off-by: Sudip Mukherjee --- The build log of next-20171222 is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/320089922 include/net/pkt_cls.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index 31574c9..5cd3cf5 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h @@ -79,7 +79,8 @@ int tcf_classify(struct sk_buff *skb, const struct tcf_proto *tp, #else static inline int tcf_block_get(struct tcf_block **p_block, - struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q) + struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q, + struct netlink_ext_ack *extack) { return 0; } -- 2.1.4