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] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 21 Jul 2017 18:37:54 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Stephen Hemminger <stephen@...workplumber.org>
Cc:     kbuild-all@...org, yisen.zhuang@...wei.com, salil.mehta@...wei.com,
        davem@...emloft.net, marcel@...tmann.org, gustavo@...ovan.org,
        johan.hedberg@...il.com, netdev@...r.kernel.org,
        linux-bluetooth@...r.kernel.org,
        Stephen Hemminger <sthemmin@...rosoft.com>
Subject: Re: [PATCH net-next 1/3] bluetooth: 6lowpan dev_close never returns
 error

Hi Stephen,

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

url:    https://github.com/0day-ci/linux/commits/Stephen-Hemminger/net-make-dev_close-void/20170720-090123
config: x86_64-randconfig-a0-07211734 (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 >>):

   net/bluetooth/6lowpan.c: In function 'ifdown':
>> net/bluetooth/6lowpan.c:621: warning: unused variable 'err'

vim +/err +621 net/bluetooth/6lowpan.c

18722c24 Jukka Rissanen    2013-12-11  618  
7f118253 Jukka Rissanen    2014-06-18  619  static void ifdown(struct net_device *netdev)
7f118253 Jukka Rissanen    2014-06-18  620  {
7f118253 Jukka Rissanen    2014-06-18 @621  	int err;
7f118253 Jukka Rissanen    2014-06-18  622  
7f118253 Jukka Rissanen    2014-06-18  623  	rtnl_lock();
ca74f73e Stephen Hemminger 2017-07-18  624  	dev_close(netdev);
7f118253 Jukka Rissanen    2014-06-18  625  	rtnl_unlock();
7f118253 Jukka Rissanen    2014-06-18  626  }
7f118253 Jukka Rissanen    2014-06-18  627  

:::::: The code at line 621 was first introduced by commit
:::::: 7f118253820fc3ad38659485adb3ebdfe64820e1 Bluetooth: 6LoWPAN: Remove network devices when unloading

:::::: TO: Jukka Rissanen <jukka.rissanen@...ux.intel.com>
:::::: CC: Marcel Holtmann <marcel@...tmann.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ