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]
Message-ID: <201701052152.Ockz59YU%fengguang.wu@intel.com>
Date:   Thu, 5 Jan 2017 21:39:26 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Florian Fainelli <f.fainelli@...il.com>
Cc:     kbuild-all@...org, netdev@...r.kernel.org, davem@...emloft.net,
        andrew@...n.ch, vivien.didelot@...oirfairelinux.com,
        volodymyr.bendiuga@...il.com,
        Florian Fainelli <f.fainelli@...il.com>
Subject: Re: [PATCH net-next] net: dsa: b53: Utilize common helpers for
 u64/MAC

Hi Florian,

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

url:    https://github.com/0day-ci/linux/commits/Florian-Fainelli/net-dsa-b53-Utilize-common-helpers-for-u64-MAC/20170105-203441
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   In file included from drivers/net/dsa/b53/b53_spi.c:27:0:
   drivers/net/dsa/b53/b53_priv.h: In function 'b53_arl_to_entry':
>> drivers/net/dsa/b53/b53_priv.h:336:2: error: implicit declaration of function 'u64_to_ether_addr' [-Werror=implicit-function-declaration]
     u64_to_ether_addr(mac_vid, ent->mac);
     ^~~~~~~~~~~~~~~~~
   drivers/net/dsa/b53/b53_priv.h: In function 'b53_arl_from_entry':
>> drivers/net/dsa/b53/b53_priv.h:343:13: error: implicit declaration of function 'ether_addr_to_u64' [-Werror=implicit-function-declaration]
     *mac_vid = ether_addr_to_u64(ent->mac);
                ^~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/u64_to_ether_addr +336 drivers/net/dsa/b53/b53_priv.h

   330	{
   331		memset(ent, 0, sizeof(*ent));
   332		ent->port = fwd_entry & ARLTBL_DATA_PORT_ID_MASK;
   333		ent->is_valid = !!(fwd_entry & ARLTBL_VALID);
   334		ent->is_age = !!(fwd_entry & ARLTBL_AGE);
   335		ent->is_static = !!(fwd_entry & ARLTBL_STATIC);
 > 336		u64_to_ether_addr(mac_vid, ent->mac);
   337		ent->vid = mac_vid >> ARLTBL_VID_S;
   338	}
   339	
   340	static inline void b53_arl_from_entry(u64 *mac_vid, u32 *fwd_entry,
   341					      const struct b53_arl_entry *ent)
   342	{
 > 343		*mac_vid = ether_addr_to_u64(ent->mac);
   344		*mac_vid |= (u64)(ent->vid & ARLTBL_VID_MASK) << ARLTBL_VID_S;
   345		*fwd_entry = ent->port & ARLTBL_DATA_PORT_ID_MASK;
   346		if (ent->is_valid)

---
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" (45845 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ