Hi Anand, [auto build test WARNING on v4.5-rc7] [cannot apply to btrfs/next next-20160309] [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/Anand-Jain/btrfs-move-btrfs_compression_type-to-compression-h/20160310-125205 config: x86_64-randconfig-s5-03101542 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from fs/btrfs/check-integrity.c:91: fs/btrfs/check-integrity.c: In function 'btrfsic_handle_extent_data': fs/btrfs/check-integrity.c:1449:6: error: 'BTRFS_COMPRESS_NONE' undeclared (first use in this function) BTRFS_COMPRESS_NONE) { ^ include/linux/compiler.h:147:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^ >> fs/btrfs/check-integrity.c:1448:2: note: in expansion of macro 'if' if (btrfs_stack_file_extent_compression(&file_extent_item) == ^ fs/btrfs/check-integrity.c:1449:6: note: each undeclared identifier is reported only once for each function it appears in BTRFS_COMPRESS_NONE) { ^ include/linux/compiler.h:147:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^ >> fs/btrfs/check-integrity.c:1448:2: note: in expansion of macro 'if' if (btrfs_stack_file_extent_compression(&file_extent_item) == ^ vim +/if +1448 fs/btrfs/check-integrity.c 3cae210f Qu Wenruo 2013-07-16 1432 btrfs_stack_file_extent_disk_bytenr( 3cae210f Qu Wenruo 2013-07-16 1433 &file_extent_item)); 86ff7ffc Stefan Behrens 2012-04-24 1434 return 0; 86ff7ffc Stefan Behrens 2012-04-24 1435 } 86ff7ffc Stefan Behrens 2012-04-24 1436 e06baab4 Stefan Behrens 2012-04-12 1437 if (file_extent_item_offset + sizeof(struct btrfs_file_extent_item) > e06baab4 Stefan Behrens 2012-04-12 1438 block_ctx->len) { e06baab4 Stefan Behrens 2012-04-12 1439 printk(KERN_INFO e06baab4 Stefan Behrens 2012-04-12 1440 "btrfsic: file item out of bounce at logical %llu, dev %s\n", e06baab4 Stefan Behrens 2012-04-12 1441 block_ctx->start, block_ctx->dev->name); e06baab4 Stefan Behrens 2012-04-12 1442 return -1; e06baab4 Stefan Behrens 2012-04-12 1443 } e06baab4 Stefan Behrens 2012-04-12 1444 btrfsic_read_from_block_data(block_ctx, &file_extent_item, e06baab4 Stefan Behrens 2012-04-12 1445 file_extent_item_offset, e06baab4 Stefan Behrens 2012-04-12 1446 sizeof(struct btrfs_file_extent_item)); e20d6c5b Josef Bacik 2013-11-13 1447 next_bytenr = btrfs_stack_file_extent_disk_bytenr(&file_extent_item); e20d6c5b Josef Bacik 2013-11-13 @1448 if (btrfs_stack_file_extent_compression(&file_extent_item) == e20d6c5b Josef Bacik 2013-11-13 1449 BTRFS_COMPRESS_NONE) { e20d6c5b Josef Bacik 2013-11-13 1450 next_bytenr += btrfs_stack_file_extent_offset(&file_extent_item); 3cae210f Qu Wenruo 2013-07-16 1451 num_bytes = btrfs_stack_file_extent_num_bytes(&file_extent_item); e20d6c5b Josef Bacik 2013-11-13 1452 } else { e20d6c5b Josef Bacik 2013-11-13 1453 num_bytes = btrfs_stack_file_extent_disk_num_bytes(&file_extent_item); e20d6c5b Josef Bacik 2013-11-13 1454 } 3cae210f Qu Wenruo 2013-07-16 1455 generation = btrfs_stack_file_extent_generation(&file_extent_item); e06baab4 Stefan Behrens 2012-04-12 1456 :::::: The code at line 1448 was first introduced by commit :::::: e20d6c5ba38d066c7dc0f7d3b68da14b9ae7fe37 Btrfs: fix check-integrity to look at the referenced data properly :::::: TO: Josef Bacik <jba...@fusionio.com> :::::: CC: Chris Mason <c...@fb.com> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data