* [jpirko-mlxsw:combined_queue 23/35] net/sched/sch_tbf.c:194:35: warning: implicit conversion from 'enum tc_tbf_command' to 'enum tc_red_command'
@ 2021-10-01 4:49 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-01 4:49 UTC (permalink / raw)
To: Petr Machata; +Cc: kbuild-all, linux-kernel, Ido Schimmel
[-- Attachment #1: Type: text/plain, Size: 2019 bytes --]
tree: https://github.com/jpirko/linux_mlxsw combined_queue
head: 1ca2cbf79370e7989fdf9976899fae328ccd43a4
commit: 3470002252fb4e883bdcd11fa4c0898f590c7bd2 [23/35] net: sch_tbf: Add a graft command
config: nds32-randconfig-r015-20210930 (attached as .config)
compiler: nds32le-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/3470002252fb4e883bdcd11fa4c0898f590c7bd2
git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
git fetch --no-tags jpirko-mlxsw combined_queue
git checkout 3470002252fb4e883bdcd11fa4c0898f590c7bd2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nds32
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,
188 struct Qdisc *old, 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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32958 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-01 4:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 4:49 [jpirko-mlxsw:combined_queue 23/35] net/sched/sch_tbf.c:194:35: warning: implicit conversion from 'enum tc_tbf_command' to 'enum tc_red_command' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®