Linux NFS development
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Kinglong Mee <kinglongmee@gmail.com>
Cc: kbuild-all@01.org,
	Trond Myklebust <trond.myklebust@primarydata.com>,
	"linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>,
	kinglongmee@gmail.com
Subject: Re: pnfs/blocklayout: fix a memory leak after using vmalloc_to_page
Date: Sun, 31 Jan 2016 21:03:05 +0800	[thread overview]
Message-ID: <201601312118.eeYQZfII%fengguang.wu@intel.com> (raw)
In-Reply-To: <56AE030D.3050709@gmail.com>

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

Hi Kinglong,

[auto build test ERROR on v4.5-rc1]
[also build test ERROR on next-20160129]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Kinglong-Mee/pnfs-blocklayout-fix-a-memory-leak-after-using-vmalloc_to_page/20160131-205327
config: xtensa-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   fs/nfs/blocklayout/extent_tree.c: In function 'ext_tree_free_commitdata':
>> fs/nfs/blocklayout/extent_tree.c:479:12: error: 'struct nfs4_layoutcommit_args' has no member named 'start_p'
      vfree(arg->start_p);
               ^
   fs/nfs/blocklayout/extent_tree.c: In function 'ext_tree_prepare_commit':
   fs/nfs/blocklayout/extent_tree.c:566:6: error: 'struct nfs4_layoutcommit_args' has no member named 'start_p'
      arg->start_p = start_p;
         ^

vim +479 fs/nfs/blocklayout/extent_tree.c

   473	{
   474		if (arg->layoutupdate_pages != &arg->layoutupdate_page) {
   475			int nr_pages = DIV_ROUND_UP(buffer_size, PAGE_SIZE), i;
   476	
   477			for (i = 0; i < nr_pages; i++)
   478				put_page(arg->layoutupdate_pages[i]);
 > 479			vfree(arg->start_p);
   480			kfree(arg->layoutupdate_pages);
   481		} else {
   482			put_page(arg->layoutupdate_page);

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 44066 bytes --]

  reply	other threads:[~2016-01-31 13:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-31 12:50 pnfs/blocklayout: fix a memory leak after using vmalloc_to_page Kinglong Mee
2016-01-31 13:03 ` kbuild test robot [this message]
2016-02-01  1:39   ` [PATCH v2] pnfs/blocklayout: fix a memeory leak when using,vmalloc_to_page Kinglong Mee

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=201601312118.eeYQZfII%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=kinglongmee@gmail.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trond.myklebust@primarydata.com \
    /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