commit | ea3e7f98d82ebcda42a3be8712b72ff47795c742 | [log] [tgz] |
---|---|---|
author | Stephen Rothwell <sfr@canb.auug.org.au> | Tue Apr 17 12:08:48 2012 +1000 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sat Nov 18 11:48:03 2017 +0100 |
tree | a7b8dfcccd80cff5c2d05a7bf769f93da4f7c93f | |
parent | 7288911410f7815ac39dee9669c81ffd6224e940 [diff] |
seccomp: use a static inline for a function stub Fixes this error message when CONFIG_SECCOMP is not set: arch/powerpc/kernel/ptrace.c: In function 'do_syscall_trace_enter': arch/powerpc/kernel/ptrace.c:1713:2: error: statement with no effect [-Werror=unused-value] Signed-off-by: Stephen Rothwell <sfr@ozlabs.au.ibm.com> Signed-off-by: James Morris <james.l.morris@oracle.com>