All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 4098/14131] net/bridge/br_device.c:467:25: sparse: sparse: incorrect type in argument 1 (different modifiers)
@ 2020-06-01  9:43 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-06-01  9:43 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   e7b08814b16b80a0bf76eeca16317f8c2ed23b8c
commit: 6536993371fab3de4e8379649b60e94d03e6ff37 [4098/14131] bridge: mrp: Integrate MRP into the bridge
config: um-randconfig-s031-20200601 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-243-gc100a7ab-dirty
        git checkout 6536993371fab3de4e8379649b60e94d03e6ff37
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=um CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

>> net/bridge/br_device.c:467:25: sparse: sparse: incorrect type in argument 1 (different modifiers) @@     expected struct list_head *list @@     got struct list_head [noderef] * @@
   net/bridge/br_device.c:467:25: sparse:     expected struct list_head *list
   net/bridge/br_device.c:467:25: sparse:     got struct list_head [noderef] *

vim +467 net/bridge/br_device.c

   442	
   443	void br_dev_setup(struct net_device *dev)
   444	{
   445		struct net_bridge *br = netdev_priv(dev);
   446	
   447		eth_hw_addr_random(dev);
   448		ether_setup(dev);
   449	
   450		dev->netdev_ops = &br_netdev_ops;
   451		dev->needs_free_netdev = true;
   452		dev->ethtool_ops = &br_ethtool_ops;
   453		SET_NETDEV_DEVTYPE(dev, &br_type);
   454		dev->priv_flags = IFF_EBRIDGE | IFF_NO_QUEUE;
   455	
   456		dev->features = COMMON_FEATURES | NETIF_F_LLTX | NETIF_F_NETNS_LOCAL |
   457				NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX;
   458		dev->hw_features = COMMON_FEATURES | NETIF_F_HW_VLAN_CTAG_TX |
   459				   NETIF_F_HW_VLAN_STAG_TX;
   460		dev->vlan_features = COMMON_FEATURES;
   461	
   462		br->dev = dev;
   463		spin_lock_init(&br->lock);
   464		INIT_LIST_HEAD(&br->port_list);
   465		INIT_HLIST_HEAD(&br->fdb_list);
   466	#if IS_ENABLED(CONFIG_BRIDGE_MRP)
 > 467		INIT_LIST_HEAD(&br->mrp_list);

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

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

only message in thread, other threads:[~2020-06-01  9:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01  9:43 [linux-next:master 4098/14131] net/bridge/br_device.c:467:25: sparse: sparse: incorrect type in argument 1 (different modifiers) kbuild 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.