OSDN Git Service

net: sch: api: fix tcf_block_get
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 22 Dec 2017 15:52:05 +0000 (15:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 18:34:42 +0000 (13:34 -0500)
commit3c1490913f3bcf750261649e7ffd62390187058c
treeed0f341cce2f09b585cfcdaf08d0bc97c0bc7769
parent81487bf1f6a8a3e01eafb54937b1a646afe14ec5
net: sch: api: fix tcf_block_get

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 <sudipm.mukherjee@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h