All of lore.kernel.org
 help / color / mirror / Atom feed
* [sashal-linux-stable:queue-5.10 183/198] drivers/net/dsa/ocelot/felix.c:628:6: error: no member named 'assisted_learning_on_cpu_port' in 'struct dsa_switch'
@ 2021-03-28  1:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-28  1:59 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.10
head:   32f5ef993ff37c11d879c8ea72317a98654a7473
commit: 9aea8489bb859843f5c65a4e934bd317a5ebd5d7 [183/198] net: dsa: ocelot: request DSA to fix up lack of address learning on CPU port
config: powerpc64-randconfig-r003-20210328 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project d3e7ee36f6411f1bb30ce31311131095d3a196c5)
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
        # install powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/commit/?id=9aea8489bb859843f5c65a4e934bd317a5ebd5d7
        git remote add sashal-linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
        git fetch --no-tags sashal-linux-stable queue-5.10
        git checkout 9aea8489bb859843f5c65a4e934bd317a5ebd5d7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

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/ocelot/felix.c:628:6: error: no member named 'assisted_learning_on_cpu_port' in 'struct dsa_switch'
           ds->assisted_learning_on_cpu_port = true;
           ~~  ^
   1 error generated.


vim +628 drivers/net/dsa/ocelot/felix.c

   576	
   577	/* Hardware initialization done here so that we can allocate structures with
   578	 * devm without fear of dsa_register_switch returning -EPROBE_DEFER and causing
   579	 * us to allocate structures twice (leak memory) and map PCI memory twice
   580	 * (which will not work).
   581	 */
   582	static int felix_setup(struct dsa_switch *ds)
   583	{
   584		struct ocelot *ocelot = ds->priv;
   585		struct felix *felix = ocelot_to_felix(ocelot);
   586		int port, err;
   587	
   588		err = felix_init_structs(felix, ds->num_ports);
   589		if (err)
   590			return err;
   591	
   592		err = ocelot_init(ocelot);
   593		if (err)
   594			return err;
   595	
   596		if (ocelot->ptp) {
   597			err = ocelot_init_timestamp(ocelot, felix->info->ptp_caps);
   598			if (err) {
   599				dev_err(ocelot->dev,
   600					"Timestamp initialization failed\n");
   601				ocelot->ptp = 0;
   602			}
   603		}
   604	
   605		for (port = 0; port < ds->num_ports; port++) {
   606			ocelot_init_port(ocelot, port);
   607	
   608			if (dsa_is_cpu_port(ds, port))
   609				felix_npi_port_init(ocelot, port);
   610	
   611			/* Set the default QoS Classification based on PCP and DEI
   612			 * bits of vlan tag.
   613			 */
   614			felix_port_qos_map_init(ocelot, port);
   615		}
   616	
   617		/* Include the CPU port module in the forwarding mask for unknown
   618		 * unicast - the hardware default value for ANA_FLOODING_FLD_UNICAST
   619		 * excludes BIT(ocelot->num_phys_ports), and so does ocelot_init, since
   620		 * Ocelot relies on whitelisting MAC addresses towards PGID_CPU.
   621		 */
   622		ocelot_write_rix(ocelot,
   623				 ANA_PGID_PGID_PGID(GENMASK(ocelot->num_phys_ports, 0)),
   624				 ANA_PGID_PGID, PGID_UC);
   625	
   626		ds->mtu_enforcement_ingress = true;
   627		ds->configure_vlan_while_not_filtering = true;
 > 628		ds->assisted_learning_on_cpu_port = true;
   629	
   630		return 0;
   631	}
   632	

---
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: 43583 bytes --]

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

only message in thread, other threads:[~2021-03-28  1:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-28  1:59 [sashal-linux-stable:queue-5.10 183/198] drivers/net/dsa/ocelot/felix.c:628:6: error: no member named 'assisted_learning_on_cpu_port' in 'struct dsa_switch' 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.