linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Dave Hansen <dave@sr71.net>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, x86@kernel.org, dave.hansen@linux.intel.com,
	akpm@linux-foundation.org, kirill.shutemov@linux.intel.com,
	aarcange@redhat.com, n-horiguchi@ah.jp.nec.com,
	srikar@linux.vnet.ibm.com, vbabka@suse.cz, jack@suse.cz
Subject: Re: [PATCH] mm, gup: introduce concept of "foreign" get_user_pages()
Date: Sat, 23 Jan 2016 02:16:10 +0800	[thread overview]
Message-ID: <201601230229.C4kUiPa1%fengguang.wu@intel.com> (raw)
In-Reply-To: <20160122180219.164259F1@viggo.jf.intel.com>

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

Hi Dave,

[auto build test ERROR on next-20160122]
[also build test ERROR on v4.4]
[cannot apply to drm/drm-next linuxtv-media/master v4.4-rc8 v4.4-rc7 v4.4-rc6]
[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/Dave-Hansen/mm-gup-introduce-concept-of-foreign-get_user_pages/20160123-020404
config: sh-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=sh 

All error/warnings (new ones prefixed by >>):

   mm/nommu.c: In function 'get_user_pages_unlocked':
>> mm/nommu.c:236:7: warning: passing argument 1 of '__get_user_pages_unlocked' makes pointer from integer without a cast [enabled by default]
   mm/nommu.c:219:6: note: expected 'struct task_struct *' but argument is of type 'long unsigned int'
   mm/nommu.c:236:7: warning: passing argument 2 of '__get_user_pages_unlocked' makes pointer from integer without a cast [enabled by default]
   mm/nommu.c:219:6: note: expected 'struct mm_struct *' but argument is of type 'long unsigned int'
>> mm/nommu.c:236:7: warning: passing argument 5 of '__get_user_pages_unlocked' makes integer from pointer without a cast [enabled by default]
   mm/nommu.c:219:6: note: expected 'int' but argument is of type 'struct page **'
>> mm/nommu.c:236:7: error: too few arguments to function '__get_user_pages_unlocked'
   mm/nommu.c:219:6: note: declared here
>> mm/nommu.c:237:1: warning: control reaches end of non-void function [-Wreturn-type]

vim +/__get_user_pages_unlocked +236 mm/nommu.c

0fd71a56 Andrea Arcangeli 2015-02-11  230  EXPORT_SYMBOL(__get_user_pages_unlocked);
0fd71a56 Andrea Arcangeli 2015-02-11  231  
1afde99c Dave Hansen      2016-01-22  232  long get_user_pages_unlocked(unsigned long start, unsigned long nr_pages,
0fd71a56 Andrea Arcangeli 2015-02-11  233  			     int write, int force, struct page **pages)
0fd71a56 Andrea Arcangeli 2015-02-11  234  {
1afde99c Dave Hansen      2016-01-22  235  	return __get_user_pages_unlocked(start, nr_pages, write,
0fd71a56 Andrea Arcangeli 2015-02-11 @236  					 force, pages, 0);
0fd71a56 Andrea Arcangeli 2015-02-11 @237  }
f0818f47 Andrea Arcangeli 2015-02-11  238  EXPORT_SYMBOL(get_user_pages_unlocked);
f0818f47 Andrea Arcangeli 2015-02-11  239  
dfc2f91a Paul Mundt       2009-06-26  240  /**

:::::: The code at line 236 was first introduced by commit
:::::: 0fd71a56f41d4ffabeda1dae9ff5ed4f34d4e935 mm: gup: add __get_user_pages_unlocked to customize gup_flags

:::::: TO: Andrea Arcangeli <aarcange@redhat.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.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/octet-stream, Size: 38606 bytes --]

  reply	other threads:[~2016-01-22 18:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-22 18:02 Dave Hansen
2016-01-22 18:16 ` kbuild test robot [this message]
2016-01-22 21:31   ` Dave Hansen
2016-01-25 13:17 ` Srikar Dronamraju
2016-01-25 18:18   ` Oleg Nesterov
2016-01-27 11:30 ` Vlastimil Babka
2016-01-27 22:59   ` Dave Hansen
  -- strict thread matches above, loose matches on Subject: below --
2016-01-20 17:35 Dave Hansen
2016-01-20 17:56 ` Vlastimil Babka
2016-01-20 18:48   ` Dave Hansen
2016-01-20 19:30 ` Vlastimil Babka
2016-01-15 18:11 Dave Hansen
2016-01-18 15:20 ` Vlastimil Babka

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=201601230229.C4kUiPa1%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=aarcange@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=dave.hansen@linux.intel.com \
    --cc=dave@sr71.net \
    --cc=jack@suse.cz \
    --cc=kbuild-all@01.org \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=n-horiguchi@ah.jp.nec.com \
    --cc=srikar@linux.vnet.ibm.com \
    --cc=vbabka@suse.cz \
    --cc=x86@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