linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: MT: Fix build error iFPU affinity code

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] MIPS: MT: Fix build error iFPU affinity code
From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Date: Mon, 25 Oct 2010 09:40:28 +0900 (JST)
Cc: kosaki.motohiro@jp.fujitsu.com, Linus Torvalds <torvalds@linux-foundation.org>, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, James Morris <jmorris@namei.org>
In-reply-to: <20101024212350.GA18747@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20101024212350.GA18747@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
> > commit b0ae19811375031ae3b3fecc65b702a9c6e5cc28
> > Author: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
> > Date:   Fri Oct 15 04:21:18 2010 +0900
> >
> >     security: remove unused parameter from security_task_setscheduler()
> 
> broke the build of arch/mips/kernel/mips-mt-fpaff.c.  The function
> arguments were unnecessary, not the semicolon ...
> 
> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
> 
>  arch/mips/kernel/mips-mt-fpaff.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/mips/kernel/mips-mt-fpaff.c 
> b/arch/mips/kernel/mips-mt-fpaff.c
> index 9a526ba..802e616 100644
> --- a/arch/mips/kernel/mips-mt-fpaff.c
> +++ b/arch/mips/kernel/mips-mt-fpaff.c
> @@ -103,7 +103,7 @@ asmlinkage long mipsmt_sys_sched_setaffinity(pid_t pid, 
> unsigned int len,
>       if (!check_same_owner(p) && !capable(CAP_SYS_NICE))
>               goto out_unlock;
>  
> -     retval = security_task_setscheduler(p)
> +     retval = security_task_setscheduler(p);
>       if (retval)
>               goto out_unlock;
>  

Agh! Thank you for fixing this!



<Prev in Thread] Current Thread [Next in Thread>