Re: [PATCH net-next 1/3] bluetooth: 6lowpan dev_close never returns error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
:::::: CC: Marcel Holtmann <marcel@xxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux