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:	Sat, 23 Jul 2016 10:25:41 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Kristian Evensen <kristian.evensen@...il.com>
Cc:	kbuild-all@...org, oliver@...kum.org, linux-usb@...r.kernel.org,
	netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
	Kristian Evensen <kristian.evensen@...il.com>
Subject: Re: [PATCH net-next v3] cdc_ether: Improve ZTE MF823/831/910 handling

Hi,

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

url:    https://github.com/0day-ci/linux/commits/Kristian-Evensen/cdc_ether-Improve-ZTE-MF823-831-910-handling/20160723-093100
config: x86_64-randconfig-i0-201629 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/net/usb/cdc_ether.c: In function 'usbnet_cdc_zte_rx_fixup':
>> drivers/net/usb/cdc_ether.c:461:5: warning: unused variable 'buggy_hwaddrs_idx' [-Wunused-variable]
     u8 buggy_hwaddrs_idx = 0;
        ^
>> drivers/net/usb/cdc_ether.c:460:5: warning: unused variable 'num_buggy_hwaddrs' [-Wunused-variable]
     u8 num_buggy_hwaddrs;
        ^

vim +/buggy_hwaddrs_idx +461 drivers/net/usb/cdc_ether.c

   454	 * device sends packets with a static, bogus, random MAC address (event if
   455	 * device MAC address has been updated). Always set MAC address to that of the
   456	 * device.
   457	 */
   458	static int usbnet_cdc_zte_rx_fixup(struct usbnet *dev, struct sk_buff *skb)
   459	{
 > 460		u8 num_buggy_hwaddrs;
 > 461		u8 buggy_hwaddrs_idx = 0;
   462	
   463		if (skb->len < ETH_HLEN || !(skb->data[0] & 0x02))
   464			return 1;

---
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/octet-stream" (29985 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ