Hi Anand, [auto build test WARNING on btrfs/next] [cannot apply to v4.8-rc6 next-20160913] [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/Anand-Jain/btrfs-Encryption-Add-btrfs-encryption-support/20160913-214237 base: https://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git next config: i386-randconfig-x009-201637 (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): In file included from include/linux/printk.h:6:0, from include/linux/kernel.h:13, from include/linux/list.h:8, from include/linux/hashtable.h:9, from fs/btrfs/props.c:19: fs/btrfs/props.c: In function '__btrfs_set_prop': include/linux/kern_levels.h:4:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka unsigned int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^~~~~~~~ include/linux/printk.h:264:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~ >> fs/btrfs/props.c:177:3: note: in expansion of macro 'pr_err' pr_err("BTRFS: property apply failed %s %d %s %lu\n", ^~~~~~ fs/btrfs/props.c: In function 'prop_encrypt_validate': include/linux/kern_levels.h:4:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^~~~~~~~ include/linux/printk.h:264:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~ fs/btrfs/props.c:567:3: note: in expansion of macro 'pr_err' pr_err("BTRFS: %lu mal formed value '%s' %lu\n", ^~~~~~ fs/btrfs/props.c: In function 'prop_cryptoiv_apply': include/linux/kern_levels.h:4:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^~~~~~~~ include/linux/printk.h:264:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~ fs/btrfs/props.c:696:3: note: in expansion of macro 'pr_err' pr_err("BTRFS: %lu prop_cryptoiv_apply failed ret %d len %lu\n", ^~~~~~ vim +/pr_err +177 fs/btrfs/props.c 161 ASSERT(ret == 0); 162 163 return ret; 164 } 165 166 ret = handler->validate(inode, value, value_len); 167 if (ret) { 168 return ret; 169 } 170 ret = __btrfs_setxattr(trans, inode, handler->xattr_name, 171 value, value_len, flags); 172 if (ret) { 173 return ret; 174 } 175 ret = handler->apply(inode, value, value_len); 176 if (ret && ret != -EKEYREJECTED) { > 177 pr_err("BTRFS: property apply failed %s %d %s %lu\n", 178 name, ret, value, value_len); 179 __btrfs_setxattr(trans, inode, handler->xattr_name, 180 NULL, 0, flags); 181 return ret; 182 } 183 184 set_bit(BTRFS_INODE_HAS_PROPS, &BTRFS_I(inode)->runtime_flags); 185 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data