tree:
https://github.com/jpirko/linux_mlxsw petrm_qdisc
head: a66ce9de1551a054c7a5412fd33274abfb7750ed
commit: 136eeee104d4e33b9e780cb04ee74cc1321f3a2b [26/40] net: sched: Introduce helpers for
qevent blocks
config: m68k-randconfig-r013-20200623 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 136eeee104d4e33b9e780cb04ee74cc1321f3a2b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
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 >>):
net/sched/cls_api.c:3757:5: error: redefinition of 'tcf_qevent_init'
3757 | int tcf_qevent_init(struct tcf_qevent *qe, struct Qdisc *sch,
| ^~~~~~~~~~~~~~~
In file included from net/sched/cls_api.c:30:
include/net/pkt_cls.h:573:19: note: previous definition of 'tcf_qevent_init'
was here
573 | static inline int tcf_qevent_init(struct tcf_qevent *qe, struct Qdisc *sch,
| ^~~~~~~~~~~~~~~
net/sched/cls_api.c:3785:6: error: redefinition of 'tcf_qevent_destroy'
3785 | void tcf_qevent_destroy(struct tcf_qevent *qe, struct Qdisc *sch)
| ^~~~~~~~~~~~~~~~~~
In file included from net/sched/cls_api.c:30:
include/net/pkt_cls.h:581:20: note: previous definition of 'tcf_qevent_destroy'
was here
581 | static inline void tcf_qevent_destroy(struct tcf_qevent *qe, struct Qdisc
*sch)
| ^~~~~~~~~~~~~~~~~~
net/sched/cls_api.c:3792:5: error: redefinition of
'tcf_qevent_validate_change'
3792 | int tcf_qevent_validate_change(struct tcf_qevent *qe,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from net/sched/cls_api.c:30:
include/net/pkt_cls.h:585:19: note: previous definition of
'tcf_qevent_validate_change' was here
585 | static inline int tcf_qevent_validate_change(struct tcf_qevent *qe, struct
nlattr *block_index_attr,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
net/sched/cls_api.c:3817:17: error: redefinition of 'tcf_qevent_handle'
3817 | struct sk_buff *tcf_qevent_handle(struct tcf_qevent *qe, struct Qdisc *sch,
| ^~~~~~~~~~~~~~~~~
In file included from net/sched/cls_api.c:30:
include/net/pkt_cls.h:592:1: note: previous definition of 'tcf_qevent_handle'
was here
592 | tcf_qevent_handle(struct tcf_qevent *qe, struct Qdisc *sch, struct sk_buff
*skb,
| ^~~~~~~~~~~~~~~~~
> net/sched/cls_api.c:3851:5: error: redefinition of
'tcf_qevent_dump'
3851 | int tcf_qevent_dump(struct sk_buff *skb, int
attr_name, struct tcf_qevent *qe)
| ^~~~~~~~~~~~~~~
In file included from net/sched/cls_api.c:30:
include/net/pkt_cls.h:598:19: note: previous definition of 'tcf_qevent_dump'
was here
598 | static inline int tcf_qevent_dump(struct sk_buff *skb, int attr_name, struct
tcf_qevent *qe)
| ^~~~~~~~~~~~~~~
vim +/tcf_qevent_dump +3851 net/sched/cls_api.c
3850
3851 int tcf_qevent_dump(struct sk_buff *skb, int attr_name, struct
tcf_qevent *qe)
3852 {
3853 if (!qe->info.block_index)
3854 return 0;
3855 return nla_put_u32(skb, attr_name, qe->info.block_index);
3856 }
3857 EXPORT_SYMBOL(tcf_qevent_dump);
3858
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org