[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201708070253.b2itvZIP%fengguang.wu@intel.com>
Date: Mon, 7 Aug 2017 03:06:45 +0800
From: kbuild test robot <lkp@...el.com>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc: kbuild-all@...org, linux-atm-general@...ts.sourceforge.net,
netdev@...r.kernel.org, Chas Williams <3chas3@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 2/4] atm: idt77252: Delete an error message for a failed
memory allocation in seven functions
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 <torvalds@...970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.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" (34611 bytes)
Powered by blists - more mailing lists