tree:
https://github.com/jpirko/linux_mlxsw petrm_deep_qdisc
head: 7d66c347912c7427260e4caeebb4a3a98b84c385
commit: 8086aadd181d6e53ce054e7052858d397ecf2a6e [1/15] net: sch_tbf: Add a graft command
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout 8086aadd181d6e53ce054e7052858d397ecf2a6e
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
net/sched/sch_tbf.c: In function 'tbf_graft':
> net/sched/sch_tbf.c:565:2: error: implicit declaration of
function 'tbf_graft_offload'; did you mean 'tc_can_offload'?
[-Werror=implicit-function-declaration]
565 | tbf_graft_offload(sch, new, *old,
extack);
| ^~~~~~~~~~~~~~~~~
| tc_can_offload
At top level:
net/sched/sch_tbf.c:187:13: warning: 'tbf_offload_graft' defined but not used
[-Wunused-function]
187 | static void tbf_offload_graft(struct Qdisc *sch, struct Qdisc *new, struct Qdisc
*old,
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +565 net/sched/sch_tbf.c
554
555 static int tbf_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new,
556 struct Qdisc **old, struct netlink_ext_ack *extack)
557 {
558 struct tbf_sched_data *q = qdisc_priv(sch);
559
560 if (new == NULL)
561 new = &noop_qdisc;
562
563 *old = qdisc_replace(sch, new, &q->qdisc);
564
565 tbf_graft_offload(sch, new, *old, extack);
566 return
0;
567 }
568
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org