From: Ilpo Järvinen Date: Wed, 15 Aug 2007 22:03:01 +0000 (+0300) Subject: [MIPS] Fix invalid semicolon after if statement X-Git-Tag: v2.6.23-rc4~7^2~17 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0806133af401381c559673c3e7269bf62af40388;p=linux-2.6 [MIPS] Fix invalid semicolon after if statement Signed-off-by: Ilpo Järvinen Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c index 6980deb6dc..28b2a8f009 100644 --- a/arch/mips/kernel/irixsig.c +++ b/arch/mips/kernel/irixsig.c @@ -725,7 +725,7 @@ asmlinkage int irix_getcontext(struct pt_regs *regs) current->comm, current->pid, ctx); #endif - if (!access_ok(VERIFY_WRITE, ctx, sizeof(*ctx))); + if (!access_ok(VERIFY_WRITE, ctx, sizeof(*ctx))) return -EFAULT; error = __put_user(current->thread.irix_oldctx, &ctx->link);