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

From: James Morris
Date: Mon Oct 25 2010 - 06:15:55 EST


On Sun, 24 Oct 2010, Ralf Baechle wrote:

> > commit b0ae19811375031ae3b3fecc65b702a9c6e5cc28
> > Author: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
> > 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@xxxxxxxxxxxxxx>
>
> arch/mips/kernel/mips-mt-fpaff.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

Acked-by: James Morris <jmorris@xxxxxxxxx>


>
> 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;
>
>

--
James Morris
<jmorris@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/