mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Yama: mark function as static
Sparse complains yama_task_prctl can be static. Fix it by making it static. Signed-off-by: Mukesh Ojha <[email protected]> Signed-off-by: James Morris <[email protected]>
This commit is contained in:
parent
d1a0846006
commit
ecb8e74dac
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue