Hi Jaegeuk, [auto build test ERROR on f2fs/dev] [also build test ERROR on next-20160309] [cannot apply to v4.5-rc7] [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/Jaegeuk-Kim/f2fs-support-access-control-via-key-management/20160310-085442 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs dev config: x86_64-randconfig-i0-03091236 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): In file included from include/uapi/linux/posix_types.h:4:0, from include/uapi/linux/types.h:13, from include/linux/compiler.h:199, from include/linux/linkage.h:4, from include/linux/fs.h:4, from fs/f2fs/file.c:11: fs/f2fs/file.c: In function 'f2fs_ioc_keyctl': >> include/linux/stddef.h:7:14: warning: passing argument 6 of 'f2fs_setxattr' makes integer from pointer without a cast [-Wint-conversion] #define NULL ((void *)0) ^ >> fs/f2fs/file.c:1599:27: note: in expansion of macro 'NULL' value, F2FS_KEY_SIZE, NULL, type); ^ In file included from fs/f2fs/file.c:29:0: fs/f2fs/xattr.h:129:19: note: expected 'int' but argument is of type 'void *' static inline int f2fs_setxattr(struct inode *inode, int index, ^ >> fs/f2fs/file.c:1597:9: error: too many arguments to function 'f2fs_setxattr' return f2fs_setxattr(inode, F2FS_XATTR_INDEX_KEY, ^ In file included from fs/f2fs/file.c:29:0: fs/f2fs/xattr.h:129:19: note: declared here static inline int f2fs_setxattr(struct inode *inode, int index, ^ vim +/f2fs_setxattr +1597 fs/f2fs/file.c 1591 1592 value = NULL; 1593 type = XATTR_REPLACE; 1594 } 1595 1596 f2fs_update_time(F2FS_I_SB(inode), REQ_TIME); > 1597 return f2fs_setxattr(inode, F2FS_XATTR_INDEX_KEY, 1598 F2FS_XATTR_NAME_ENCRYPTION_CONTEXT, > 1599 value, F2FS_KEY_SIZE, NULL, type); 1600 } 1601 1602 static int f2fs_ioc_set_encryption_policy(struct file *filp, unsigned long arg) --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data