Hi Shaun, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc7] [cannot apply to block/for-next next-20160919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Damien-Le-Moal/ZBC-Zoned-block-device-support/20160920-062608 config: blackfin-allyesconfig (attached as .config) compiler: bfin-uclinux-gcc (GCC) 6.2.0 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=blackfin All error/warnings (new ones prefixed by >>): In file included from include/linux/linkage.h:4:0, from include/linux/kernel.h:6, from block/blk-zoned.c:11: In function 'blkdev_zone_action_ioctl', inlined from 'blkdev_zone_ioctl' at block/blk-zoned.c:445:7: >> include/linux/compiler.h:491:38: error: call to '__compiletime_assert_382' declared with attribute error: BUILD_BUG_ON failed: ptr_size >= 8 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^ include/linux/compiler.h:474:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^~~~~~ include/linux/compiler.h:491:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^~~~~~~~~~~~~~~~~~~ include/linux/bug.h:51:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^~~~~~~~~~~~~~~~~~ include/linux/bug.h:75:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) ^~~~~~~~~~~~~~~~ >> arch/blackfin/include/asm/uaccess.h:136:3: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(ptr_size >= 8); \ ^~~~~~~~~~~~ >> block/blk-zoned.c:382:6: note: in expansion of macro 'get_user' if (get_user(sector, (u64 __user *)argp)) ^~~~~~~~ vim +/get_user +382 block/blk-zoned.c 366 z.reset = zone->reset; 367 368 blk_unlock_zone(zone); 369 370 if (copy_to_user(argp, &z, sizeof(struct blkzone))) 371 return -EFAULT; 372 373 return 0; 374 } 375 376 static int blkdev_zone_action_ioctl(struct block_device *bdev, 377 unsigned cmd, void __user *argp) 378 { 379 unsigned int op; 380 u64 sector; 381 > 382 if (get_user(sector, (u64 __user *)argp)) 383 return -EFAULT; 384 385 switch (cmd) { 386 case BLKRESETZONE: 387 op = REQ_OP_ZONE_RESET; 388 break; 389 case BLKOPENZONE: 390 op = REQ_OP_ZONE_OPEN; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip