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
Attachment:
.config.gz
Description: Binary data