Messages in this thread | | | Date | Fri, 1 Oct 2021 15:46:13 +0800 | From | kernel test robot <> | Subject | [jpirko-mlxsw:petrm_leftovers 6/50] net/sched/sch_tbf.c:194:35: warning: implicit conversion from 'enum tc_tbf_command' to 'enum tc_red_command' |
| |
tree: https://github.com/jpirko/linux_mlxsw petrm_leftovers head: 2b442e043022670cc0d74d76db2cbcf1ba7b0d89 commit: ce3ffc65591d79ea5bf242766104461856588662 [6/50] net: sch_tbf: Add a graft command config: parisc-randconfig-r011-20210930 (attached as .config) compiler: hppa-linux-gcc (GCC) 11.2.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 # https://github.com/jpirko/linux_mlxsw/commit/ce3ffc65591d79ea5bf242766104461856588662 git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw git fetch --no-tags jpirko-mlxsw petrm_leftovers git checkout ce3ffc65591d79ea5bf242766104461856588662 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
net/sched/sch_tbf.c: In function 'tbf_offload_graft': >> net/sched/sch_tbf.c:194:35: warning: implicit conversion from 'enum tc_tbf_command' to 'enum tc_red_command' [-Wenum-conversion] 194 | .command = TC_TBF_GRAFT, | ^~~~~~~~~~~~
vim +194 net/sched/sch_tbf.c
186 187 static void tbf_offload_graft(struct Qdisc *sch, struct Qdisc *new, struct Qdisc *old, 188 struct netlink_ext_ack *extack) 189 { 190 struct tc_red_qopt_offload graft_offload = { 191 .handle = sch->handle, 192 .parent = sch->parent, 193 .child_handle = new->handle, > 194 .command = TC_TBF_GRAFT, 195 }; 196 197 qdisc_offload_graft_helper(qdisc_dev(sch), sch, new, old, 198 TC_SETUP_QDISC_TBF, &graft_offload, extack); 199 } 200
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |