[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201607090113.z0EuiSaT%fengguang.wu@intel.com>
Date: Sat, 9 Jul 2016 01:41:38 +0800
From: kbuild test robot <lkp@...el.com>
To: Vivek Goyal <vgoyal@...hat.com>
Cc: kbuild-all@...org, miklos@...redi.hu, sds@...ho.nsa.gov,
pmoore@...hat.com, casey@...aufler-ca.com,
linux-kernel@...r.kernel.org, linux-unionfs@...r.kernel.org,
linux-security-module@...r.kernel.org, dwalsh@...hat.com,
dhowells@...hat.com, viro@...IV.linux.org.uk, vgoyal@...hat.com,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 3/7] security,overlayfs: Provide security hook for copy
up of xattrs for overlay file
Hi,
[auto build test ERROR on next-20160708]
[also build test ERROR on v4.7-rc6]
[cannot apply to pcmoore-selinux/next security/next v4.7-rc6 v4.7-rc5 v4.7-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Vivek-Goyal/Overlayfs-SELinux-Support/20160709-002635
config: mips-gpr_defconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
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=mips
All errors (new ones prefixed by >>):
In file included from arch/mips/kernel/ptrace.c:27:0:
include/linux/security.h: In function 'security_inode_copy_up_xattr':
>> include/linux/security.h:770:2: error: statement with no effect [-Werror=unused-value]
-EOPNOTSUPP;
^
include/linux/security.h:771:1: error: no return statement in function returning non-void [-Werror=return-type]
}
^
cc1: all warnings being treated as errors
vim +770 include/linux/security.h
764 {
765 return 0;
766 }
767
768 static inline int security_inode_copy_up_xattr(const char *name)
769 {
> 770 -EOPNOTSUPP;
771 }
772
773 static inline int security_file_permission(struct file *file, int mask)
---
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" (7223 bytes)
Powered by blists - more mailing lists