mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e6eb307d48
commit
95ce568812
1 changed files with 0 additions and 1 deletions
|
@ -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 */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue