Re: [PATCH] seccomp: use a static inline for a function stub

From: Kees Cook
Date: Mon Apr 16 2012 - 23:24:32 EST


On Mon, Apr 16, 2012 at 7:08 PM, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> 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@xxxxxxxxxxxxxxxxx>

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook
ChromeOS Security
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/