linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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'
@ 2021-10-01  7:46 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-01  7:46 UTC (permalink / raw)
  To: Petr Machata; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2019 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27730 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-01  7:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01  7:46 [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' 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;
as well as URLs for NNTP newsgroup(s).