Commit 95ce5688 authored by David S. Miller's avatar David S. Miller

[SECURITY]: Fix build with CONFIG_SECURITY disabled.

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: default avatarDavid S. Miller <davem@davemloft.net>
parent e6eb307d
...@@ -2754,7 +2754,6 @@ static inline int security_secid_to_secctx(u32 secid, char **secdata, u32 *secle ...@@ -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) static inline void security_release_secctx(char *secdata, u32 seclen)
{ {
return -EOPNOTSUPP;
} }
#endif /* CONFIG_SECURITY */ #endif /* CONFIG_SECURITY */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment