Re: [PATCH] net: sched: fix mips build failure

From: Jiri Pirko
Date: Mon Jun 05 2017 - 00:50:32 EST


Sun, Jun 04, 2017 at 11:44:13PM CEST, sudipm.mukherjee@xxxxxxxxx wrote:
>The build of mips ar7_defconfig was failing with the error:
>../net/sched/act_api.c: In function 'tcf_action_goto_chain_init':
>../net/sched/act_api.c:37:18: error:
> implicit declaration of function 'tcf_chain_get'
> [-Werror=implicit-function-declaration]
>
>../net/sched/act_api.c: In function 'tcf_action_goto_chain_fini':
>../net/sched/act_api.c:45:2: error:
> implicit declaration of function 'tcf_chain_put'
> [-Werror=implicit-function-declaration]
>
>Add two inline helpers for the case where CONFIG_NET_CLS is not enabled.
>
>Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx>

I already sent a fix for this:

http://patchwork.ozlabs.org/project/netdev/list/