git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4da89d
)
seccomp: fix build warnings when there is no CONFIG_SECCOMP_FILTER
author
Will Drewry
<wad@chromium.org>
Tue, 17 Apr 2012 19:48:58 +0000
(14:48 -0500)
committer
James Morris
<james.l.morris@oracle.com>
Wed, 18 Apr 2012 02:24:52 +0000
(12:24 +1000)
If both audit and seccomp filter support are disabled, 'ret' is marked
as unused.
If just seccomp filter support is disabled, data and skip are considered
unused.
This change fixes those build warnings.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Will Drewry <wad@chromium.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
kernel/seccomp.c
patch
|
blob
|
history
diff --cc
kernel/seccomp.c
Simple merge