projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6eb307
)
[SECURITY]: Fix build with CONFIG_SECURITY disabled.
author
David S. Miller
<davem@sunset.davemloft.net>
Wed, 2 Aug 2006 21:37:06 +0000
(14:37 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 2 Aug 2006 21:37:06 +0000
(14:37 -0700)
include/linux/security.h: In function ‘security_release_secctx’:
include/linux/security.h:2757: warning: ‘return’ with a value, in function returning void
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/security.h
patch
|
blob
|
history
diff --git
a/include/linux/security.h
b/include/linux/security.h
index aa5b8043dc38b1ceded122eeacfbcbbd7cb1ad74..6bc2aad494ffcbca799907f15c005991d5ad2bb7 100644
(file)
--- a/
include/linux/security.h
+++ b/
include/linux/security.h
@@
-2754,7
+2754,6
@@
static inline int security_secid_to_secctx(u32 secid, char **secdata, u32 *secle
static inline void security_release_secctx(char *secdata, u32 seclen)
{
- return -EOPNOTSUPP;
}
#endif /* CONFIG_SECURITY */