lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201603101016.EmcLo1pQ%fengguang.wu@intel.com>
Date:	Thu, 10 Mar 2016 10:05:04 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Jaegeuk Kim <jaegeuk@...nel.org>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	linux-fsdevel@...r.kernel.org,
	linux-f2fs-devel@...ts.sourceforge.net,
	Jaegeuk Kim <jaegeuk@...nel.org>
Subject: Re: [PATCH] f2fs: support access control via key management

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

Download attachment ".config.gz" of type "application/octet-stream" (25683 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ