lkml.org 
[lkml]   [2017]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/2] sierra_net: Add support for IPv6 and Dual-Stack Link Sense Indications
Hi Stefan,

[auto build test WARNING on net-next/master]
[also build test WARNING on v4.10-rc7]
[cannot apply to next-20170207]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Stefan-Br-ns/sierra_net-Add-support-for-IPv6-and-Dual-Stack-Link-Sense-Indications/20170207-105111
config: x86_64-randconfig-b0-02081035 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All warnings (new ones prefixed by >>):

drivers/net/usb/sierra_net.c: In function 'sierra_net_bind':
>> drivers/net/usb/sierra_net.c:687: warning: unused variable 'eth'

vim +/eth +687 drivers/net/usb/sierra_net.c

f7385ec9 Ming Lei 2012-10-24 671 if (result < 0)
eb4fd8cd Elina Pasheva 2010-04-27 672 return -EIO;
eb4fd8cd Elina Pasheva 2010-04-27 673
f7385ec9 Ming Lei 2012-10-24 674 *datap = le16_to_cpu(attrdata);
eb4fd8cd Elina Pasheva 2010-04-27 675 return result;
eb4fd8cd Elina Pasheva 2010-04-27 676 }
eb4fd8cd Elina Pasheva 2010-04-27 677
eb4fd8cd Elina Pasheva 2010-04-27 678 /*
eb4fd8cd Elina Pasheva 2010-04-27 679 * collects the bulk endpoints, the status endpoint.
eb4fd8cd Elina Pasheva 2010-04-27 680 */
eb4fd8cd Elina Pasheva 2010-04-27 681 static int sierra_net_bind(struct usbnet *dev, struct usb_interface *intf)
eb4fd8cd Elina Pasheva 2010-04-27 682 {
eb4fd8cd Elina Pasheva 2010-04-27 683 u8 ifacenum;
eb4fd8cd Elina Pasheva 2010-04-27 684 u8 numendpoints;
eb4fd8cd Elina Pasheva 2010-04-27 685 u16 fwattr = 0;
eb4fd8cd Elina Pasheva 2010-04-27 686 int status;
eb4fd8cd Elina Pasheva 2010-04-27 @687 struct ethhdr *eth;
eb4fd8cd Elina Pasheva 2010-04-27 688 struct sierra_net_data *priv;
eb4fd8cd Elina Pasheva 2010-04-27 689 static const u8 sync_tmplate[sizeof(priv->sync_msg)] = {
eb4fd8cd Elina Pasheva 2010-04-27 690 0x00, 0x00, SIERRA_NET_HIP_MSYNC_ID, 0x00};
eb4fd8cd Elina Pasheva 2010-04-27 691 static const u8 shdwn_tmplate[sizeof(priv->shdwn_msg)] = {
eb4fd8cd Elina Pasheva 2010-04-27 692 0x00, 0x00, SIERRA_NET_HIP_SHUTD_ID, 0x00};
eb4fd8cd Elina Pasheva 2010-04-27 693
eb4fd8cd Elina Pasheva 2010-04-27 694 dev_dbg(&dev->udev->dev, "%s", __func__);
eb4fd8cd Elina Pasheva 2010-04-27 695

:::::: The code at line 687 was first introduced by commit
:::::: eb4fd8cd355c8ec425a12ec6cbdac614e8a4819d net/usb: add sierra_net.c driver

:::::: TO: Elina Pasheva <epasheva@sierrawireless.com>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-02-08 04:41    [W:0.042 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site