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@xxxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data