lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202110011211.QYgfKs8Q-lkp@intel.com>
Date:   Fri, 1 Oct 2021 12:49:17 +0800
From:   kernel test robot <lkp@...el.com>
To:     Petr Machata <petrm@...dia.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Ido Schimmel <idosch@...dia.com>
Subject: [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'

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (32958 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ