tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e8e9cc31b0769f2152a6825560e4005b84b2c768 commit: 65525488fa86cda44fb6870f29e9859c974700cd [3983/4215] proc: add kpageidle file config: parisc-allmodconfig (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 git checkout 65525488fa86cda44fb6870f29e9859c974700cd # save the attached .config to linux build tree make.cross ARCH=parisc All error/warnings (new ones prefixed by >>): In file included from include/linux/linkage.h:4:0, from include/linux/preempt.h:9, from include/linux/spinlock.h:50, from include/linux/mmzone.h:7, from include/linux/bootmem.h:7, from fs/proc/page.c:1: fs/proc/page.c: In function 'kpageidle_write': >> include/linux/compiler.h:447:38: error: call to '__compiletime_assert_453' declared with attribute error: BUILD_BUG failed _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^ include/linux/compiler.h:430:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^ include/linux/compiler.h:447:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^ include/linux/bug.h:50:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ include/linux/bug.h:84:21: note: in expansion of macro 'BUILD_BUG_ON_MSG' #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") ^ >> arch/parisc/include/asm/uaccess.h:43:26: note: in expansion of macro 'BUILD_BUG' #define LDD_KERNEL(ptr) BUILD_BUG() ^ >> arch/parisc/include/asm/uaccess.h:93:14: note: in expansion of macro 'LDD_KERNEL' case 8: LDD_KERNEL(ptr); break; \ ^ >> arch/parisc/include/asm/uaccess.h:40:18: note: in expansion of macro '__get_user' #define get_user __get_user ^ >> fs/proc/page.c:453:8: note: in expansion of macro 'get_user' if (get_user(idle_bitmap, in)) { ^ vim +/get_user +453 fs/proc/page.c 437 int bit; 438 439 if (*ppos & KPMMASK || count & KPMMASK) 440 return -EINVAL; 441 442 pfn = *ppos * BITS_PER_BYTE; 443 if (pfn >= max_pfn) 444 return -ENXIO; 445 446 end_pfn = pfn + count * BITS_PER_BYTE; 447 if (end_pfn > max_pfn) 448 end_pfn = ALIGN(max_pfn, KPMBITS); 449 450 for (; pfn < end_pfn; pfn++) { 451 bit = pfn % KPMBITS; 452 if (bit == 0) { > 453 if (get_user(idle_bitmap, in)) { 454 ret = -EFAULT; 455 break; 456 } 457 in++; 458 } 459 if (idle_bitmap >> bit & 1) { 460 page = kpageidle_get_page(pfn); 461 if (page) { --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation