Hi Markus,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.13-rc3 next-20170804]
[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/SF-Markus-Elfring/atm-idt77252-Adjust-four-function-calls-together-with-a-variable-assignment/20170806-081417
config: x86_64-randconfig-b0-08070032 (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//atm/idt77252.c: In function 'idt77252_send_oam':
>> drivers//atm/idt77252.c:2003: warning: unused variable 'card'

vim +/card +2003 drivers//atm/idt77252.c

^1da177e Linus Torvalds   2005-04-16  1998  
^1da177e Linus Torvalds   2005-04-16  1999  static int
^1da177e Linus Torvalds   2005-04-16  2000  idt77252_send_oam(struct atm_vcc 
*vcc, void *cell, int flags)
^1da177e Linus Torvalds   2005-04-16  2001  {
^1da177e Linus Torvalds   2005-04-16  2002      struct atm_dev *dev = vcc->dev;
^1da177e Linus Torvalds   2005-04-16 @2003      struct idt77252_dev *card = 
dev->dev_data;
^1da177e Linus Torvalds   2005-04-16  2004      struct sk_buff *skb;
^1da177e Linus Torvalds   2005-04-16  2005  
^1da177e Linus Torvalds   2005-04-16  2006      skb = dev_alloc_skb(64);
^1da177e Linus Torvalds   2005-04-16  2007      if (!skb) {
^1da177e Linus Torvalds   2005-04-16  2008              
atomic_inc(&vcc->stats->tx_err);
^1da177e Linus Torvalds   2005-04-16  2009              return -ENOMEM;
^1da177e Linus Torvalds   2005-04-16  2010      }
14afee4b Reshetova, Elena 2017-06-30  2011      refcount_add(skb->truesize, 
&sk_atm(vcc)->sk_wmem_alloc);
^1da177e Linus Torvalds   2005-04-16  2012  
59ae1d12 Johannes Berg    2017-06-16  2013      skb_put_data(skb, cell, 52);
^1da177e Linus Torvalds   2005-04-16  2014  
^1da177e Linus Torvalds   2005-04-16  2015      return idt77252_send_skb(vcc, 
skb, 1);
^1da177e Linus Torvalds   2005-04-16  2016  }
^1da177e Linus Torvalds   2005-04-16  2017  

:::::: The code at line 2003 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torva...@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torva...@ppc970.osdl.org>

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

Attachment: .config.gz
Description: application/gzip

Reply via email to