tree:
https://github.com/jpirko/linux_mlxsw petrm_wip4
head: 762771d39235289a988465b66509744f59996c66
commit: 762771d39235289a988465b66509744f59996c66 [5/5] wip
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 762771d39235289a988465b66509744f59996c66
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
net/sched/cls_api.c: In function 'tcf_qevent_handle':
> net/sched/cls_api.c:3886:20: warning: variable 'fl' set
but not used [-Wunused-but-set-variable]
3886 | struct tcf_proto *fl;
| ^~
vim +/fl +3886 net/sched/cls_api.c
3880
3881 struct sk_buff *tcf_qevent_handle(struct tcf_qevent *qe, struct Qdisc *sch,
3882 struct sk_buff *skb, struct sk_buff **to_free,
3883 int *ret)
3884 {
3885 struct tcf_result cl_res;
3886 struct tcf_proto *fl;
3887
3888 if (!qe->info.block_index)
3889 return skb;
3890
3891 fl = rcu_dereference_bh(qe->filter_chain);
3892
3893 printk(KERN_WARNING "qevent\n");
3894 switch (tcf_classify(skb, qe->filter_chain, &cl_res, false)) {
3895 case TC_ACT_SHOT:
3896 qdisc_qstats_drop(sch);
3897 __qdisc_drop(skb, to_free);
3898 *ret = __NET_XMIT_BYPASS;
3899 return NULL;
3900 case TC_ACT_STOLEN:
3901 case TC_ACT_QUEUED:
3902 case TC_ACT_TRAP:
3903 __qdisc_drop(skb, to_free);
3904 *ret = __NET_XMIT_STOLEN;
3905 return NULL;
3906 case TC_ACT_REDIRECT:
3907 skb_do_redirect(skb);
3908 *ret = __NET_XMIT_STOLEN;
3909 return NULL;
3910 }
3911
3912 return skb;
3913 }
3914 EXPORT_SYMBOL(tcf_qevent_handle);
3915
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org