aboutsummaryrefslogtreecommitdiffstats
path: root/security/smack
diff options
context:
space:
mode:
Diffstat (limited to 'security/smack')
-rw-r--r--security/smack/smack_lsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c
index 5d2ec5650e61..92baee53a7dc 100644
--- a/security/smack/smack_lsm.c
+++ b/security/smack/smack_lsm.c
@@ -2406,7 +2406,7 @@ static int smack_secid_to_secctx(u32 secid, char **secdata, u32 *seclen)
2406 * 2406 *
2407 * Exists for audit and networking code. 2407 * Exists for audit and networking code.
2408 */ 2408 */
2409static int smack_secctx_to_secid(char *secdata, u32 seclen, u32 *secid) 2409static int smack_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid)
2410{ 2410{
2411 *secid = smack_to_secid(secdata); 2411 *secid = smack_to_secid(secdata);
2412 return 0; 2412 return 0;