Commit ecb8e74d authored by Mukesh Ojha's avatar Mukesh Ojha Committed by James Morris

Yama: mark function as static

Sparse complains yama_task_prctl can be static. Fix it by making
it static.
Signed-off-by: default avatarMukesh Ojha <mojha@codeaurora.org>
Signed-off-by: default avatarJames Morris <james.morris@microsoft.com>
parent d1a08460
......@@ -222,7 +222,7 @@ static void yama_task_free(struct task_struct *task)
* Return 0 on success, -ve on error. -ENOSYS is returned when Yama
* does not handle the given option.
*/
int yama_task_prctl(int option, unsigned long arg2, unsigned long arg3,
static int yama_task_prctl(int option, unsigned long arg2, unsigned long arg3,
unsigned long arg4, unsigned long arg5)
{
int rc = -ENOSYS;
......
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