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>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 7 Dec 2018 00:49:28 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Cc:     kbuild-all@...org, netdev@...r.kernel.org,
        roopa@...ulusnetworks.com, davem@...emloft.net,
        Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Subject: Re: [PATCH net-next 1/3] net: bridge: convert multicast to generic
 rhashtable

Hi Nikolay,

I love your patch! Yet something to improve:

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Nikolay-Aleksandrov/net-bridge-convert-multicast-to-generic-rhashtable/20181206-163438
config: i386-randconfig-x0-12062357 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   In file included from net/atm/lec.c:35:0:
   net/atm/../bridge/br_private.h: In function 'br_mdb_hash_init':
>> net/atm/../bridge/br_private.h:821:1: warning: no return statement in function returning non-void [-Wreturn-type]
    }
    ^
--
   In file included from net/bridge/br_device.c:23:0:
   net/bridge/br_private.h: In function 'br_mdb_hash_init':
   net/bridge/br_private.h:821:1: warning: no return statement in function returning non-void [-Wreturn-type]
    }
    ^
   In file included from include/linux/timer.h:5:0,
                    from include/linux/netdevice.h:28,
                    from net/bridge/br_device.c:15:
   net/bridge/br_device.c: In function 'br_dev_setup':
>> net/bridge/br_device.c:439:21: error: 'struct net_bridge' has no member named 'mdb_list'
     INIT_HLIST_HEAD(&br->mdb_list);
                        ^
   include/linux/list.h:680:32: note: in definition of macro 'INIT_HLIST_HEAD'
    #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL)
                                   ^
--
   In file included from net/bridge/br_netlink.c:21:0:
   net/bridge/br_private.h: In function 'br_mdb_hash_init':
   net/bridge/br_private.h:821:1: warning: no return statement in function returning non-void [-Wreturn-type]
    }
    ^
   net/bridge/br_netlink.c: In function 'br_netlink_init':
>> net/bridge/br_netlink.c:1659:2: error: implicit declaration of function 'br_mdb_init' [-Werror=implicit-function-declaration]
     br_mdb_init();
     ^
>> net/bridge/br_netlink.c:1670:2: error: implicit declaration of function 'br_mdb_uninit' [-Werror=implicit-function-declaration]
     br_mdb_uninit();
     ^
   cc1: some warnings being treated as errors
--
   In file included from net/bridge/netfilter/ebtables.c:32:0:
   net/bridge/netfilter/../br_private.h: In function 'br_mdb_hash_init':
>> net/bridge/netfilter/../br_private.h:821:1: warning: no return statement in function returning non-void [-Wreturn-type]
    }
    ^

vim +439 net/bridge/br_device.c

   415	
   416	void br_dev_setup(struct net_device *dev)
   417	{
   418		struct net_bridge *br = netdev_priv(dev);
   419	
   420		eth_hw_addr_random(dev);
   421		ether_setup(dev);
   422	
   423		dev->netdev_ops = &br_netdev_ops;
   424		dev->needs_free_netdev = true;
   425		dev->ethtool_ops = &br_ethtool_ops;
   426		SET_NETDEV_DEVTYPE(dev, &br_type);
   427		dev->priv_flags = IFF_EBRIDGE | IFF_NO_QUEUE;
   428	
   429		dev->features = COMMON_FEATURES | NETIF_F_LLTX | NETIF_F_NETNS_LOCAL |
   430				NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX;
   431		dev->hw_features = COMMON_FEATURES | NETIF_F_HW_VLAN_CTAG_TX |
   432				   NETIF_F_HW_VLAN_STAG_TX;
   433		dev->vlan_features = COMMON_FEATURES;
   434	
   435		br->dev = dev;
   436		spin_lock_init(&br->lock);
   437		INIT_LIST_HEAD(&br->port_list);
   438		INIT_HLIST_HEAD(&br->fdb_list);
 > 439		INIT_HLIST_HEAD(&br->mdb_list);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ