All of lore.kernel.org
 help / color / mirror / Atom feed
* [jpirko-mlxsw:combined_queue 36/47] drivers/net/dsa/dsa_loop.c:214:10: error: 'const struct switchdev_obj_port_vlan' has no member named 'vid_end'
@ 2021-01-08 20:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-08 20:09 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/jpirko/linux_mlxsw combined_queue
head:   d493062b33bd66a8da27c637efaf2f4b99455ff5
commit: 6436964818ed35444156df6f8c7f08025585c6f0 [36/47] net: switchdev: remove vid_begin -> vid_end range from VLAN objects
config: nios2-randconfig-r015-20210108 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.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/6436964818ed35444156df6f8c7f08025585c6f0
        git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
        git fetch --no-tags jpirko-mlxsw combined_queue
        git checkout 6436964818ed35444156df6f8c7f08025585c6f0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/net/dsa/dsa_loop.c: In function 'dsa_loop_port_vlan_prepare':
>> drivers/net/dsa/dsa_loop.c:214:10: error: 'const struct switchdev_obj_port_vlan' has no member named 'vid_end'
     214 |  if (vlan->vid_end > ARRAY_SIZE(ps->vlans))
         |          ^~


vim +214 drivers/net/dsa/dsa_loop.c

98cd1552ea27e512 Florian Fainelli 2017-03-30  201  
80e023607982faa6 Vivien Didelot   2017-11-30  202  static int
80e023607982faa6 Vivien Didelot   2017-11-30  203  dsa_loop_port_vlan_prepare(struct dsa_switch *ds, int port,
80e023607982faa6 Vivien Didelot   2017-11-30  204  			   const struct switchdev_obj_port_vlan *vlan)
98cd1552ea27e512 Florian Fainelli 2017-03-30  205  {
98cd1552ea27e512 Florian Fainelli 2017-03-30  206  	struct dsa_loop_priv *ps = ds->priv;
98cd1552ea27e512 Florian Fainelli 2017-03-30  207  	struct mii_bus *bus = ps->bus;
98cd1552ea27e512 Florian Fainelli 2017-03-30  208  
6436964818ed3544 Vladimir Oltean  2021-01-06  209  	dev_dbg(ds->dev, "%s: port: %d, vlan: %d", __func__, port, vlan->vid);
98cd1552ea27e512 Florian Fainelli 2017-03-30  210  
98cd1552ea27e512 Florian Fainelli 2017-03-30  211  	/* Just do a sleeping operation to make lockdep checks effective */
98cd1552ea27e512 Florian Fainelli 2017-03-30  212  	mdiobus_read(bus, ps->port_base + port, MII_BMSR);
98cd1552ea27e512 Florian Fainelli 2017-03-30  213  
916a8d168e8aea52 Florian Fainelli 2020-08-03 @214  	if (vlan->vid_end > ARRAY_SIZE(ps->vlans))
98cd1552ea27e512 Florian Fainelli 2017-03-30  215  		return -ERANGE;
98cd1552ea27e512 Florian Fainelli 2017-03-30  216  
98cd1552ea27e512 Florian Fainelli 2017-03-30  217  	return 0;
98cd1552ea27e512 Florian Fainelli 2017-03-30  218  }
98cd1552ea27e512 Florian Fainelli 2017-03-30  219  

:::::: The code at line 214 was first introduced by commit
:::::: 916a8d168e8aea52e6f7eb2e323d5dcbd5dc23d5 net: dsa: loop: Support 4K VLANs

:::::: TO: Florian Fainelli <f.fainelli@gmail.com>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

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

only message in thread, other threads:[~2021-01-08 20:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-08 20:09 [jpirko-mlxsw:combined_queue 36/47] drivers/net/dsa/dsa_loop.c:214:10: error: 'const struct switchdev_obj_port_vlan' has no member named 'vid_end' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.