lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 23 Jan 2016 02:16:10 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Dave Hansen <dave@...1.net>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	linux-mm@...ck.org, x86@...nel.org, Dave Hansen <dave@...1.net>,
	dave.hansen@...ux.intel.com, akpm@...ux-foundation.org,
	kirill.shutemov@...ux.intel.com, aarcange@...hat.com,
	n-horiguchi@...jp.nec.com, srikar@...ux.vnet.ibm.com,
	vbabka@...e.cz, jack@...e.cz
Subject: Re: [PATCH] mm, gup: introduce concept of "foreign" get_user_pages()

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@...hat.com>
:::::: CC: Linus Torvalds <torvalds@...ux-foundation.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/octet-stream" (38606 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ