mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: SF Markus Elfring <elfring@users.sourceforge.net>
Cc: kbuild-all@01.org, linux-atm-general@lists.sourceforge.net,
	netdev@vger.kernel.org, Chas Williams <3chas3@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>,
	kernel-janitors@vger.kernel.org
Subject: Re: [PATCH 2/4] atm: idt77252: Delete an error message for a failed memory allocation in seven functions
Date: Mon, 7 Aug 2017 03:06:45 +0800	[thread overview]
Message-ID: <201708070253.b2itvZIP%fengguang.wu@intel.com> (raw)
In-Reply-To: <845a4e7c-fccc-a81b-cff5-3962e3cac155@users.sourceforge.net>

[-- Attachment #1: Type: text/plain, Size: 2450 bytes --]

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@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34611 bytes --]

  reply	other threads:[~2017-08-06 19:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-05 12:24 [PATCH 0/4] atm: idt77252: Adjustments for some function implementations SF Markus Elfring
2017-08-05 12:26 ` [PATCH 1/4] atm: idt77252: Adjust four function calls together with a variable assignment SF Markus Elfring
2017-08-05 12:28 ` [PATCH 2/4] atm: idt77252: Delete an error message for a failed memory allocation in seven functions SF Markus Elfring
2017-08-06 19:06   ` kbuild test robot [this message]
2017-08-05 12:30 ` [PATCH 3/4] atm: idt77252: Improve seven size determinations SF Markus Elfring
2017-08-05 12:32 ` [PATCH 4/4] atm: idt77252: Adjust ten checks for null pointers SF Markus Elfring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201708070253.b2itvZIP%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=3chas3@gmail.com \
    --cc=elfring@users.sourceforge.net \
    --cc=kbuild-all@01.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-atm-general@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®