提交 95ce5688 编写于 作者: D 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: NDavid S. Miller <davem@davemloft.net>
上级 e6eb307d
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册