[ecryptfs:seccomp-logging 1/5] include/linux/audit.h:511:20: error: '__audit_seccomp' declared 'static' but never defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs.git seccomp-logging
head:   cb693c3bd88cb403e9a72ef8d3e8647af90ddd1c
commit: 28bedd6ad6bf644620d0690d9025b801f2a706cc [1/5] seccomp: Allow for auditing functionality specific to return actions
config: sh-titan_defconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
        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
        git checkout 28bedd6ad6bf644620d0690d9025b801f2a706cc
        # save the attached .config to linux build tree
        make.cross ARCH=sh 

All errors (new ones prefixed by >>):

   In file included from arch/sh/kernel/ptrace_32.c:23:0:
   include/linux/audit.h:513:1: error: expected identifier or '(' before '{' token
    { }
>> include/linux/audit.h:511:20: error: '__audit_seccomp' declared 'static' but never defined [-Werror=unused-function]
    static inline void __audit_seccomp(unsigned long syscall,
   cc1: all warnings being treated as errors

vim +511 include/linux/audit.h

   505	static inline void audit_inode_child(struct inode *parent,
   506					     const struct dentry *dentry,
   507					     const unsigned char type)
   508	{ }
   509	static inline void audit_core_dumps(long signr)
   510	{ }
 > 511	static inline void __audit_seccomp(unsigned long syscall,
   512					   struct audit_seccomp_info *info);
 > 513	{ }
   514	static inline void audit_seccomp_signal(unsigned long syscall, long signr,
   515						int code)
   516	{ }

0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

[Index of Archives]     [Linux Crypto]     [Device Mapper Crypto]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux