* [PATCH] [MIPS] Invalid semicolon after if statement
@ 2007-08-15 22:03 Ilpo Järvinen
2007-08-16 10:58 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Ilpo Järvinen @ 2007-08-15 22:03 UTC (permalink / raw)
To: ralf; +Cc: linux-mips
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1006 bytes --]
A similar fix to netfilter from Eric Dumazet inspired me to
look around a bit by using some grep/sed stuff as looking for
this kind of bugs seemed easy to automate. This is one of them
I found where it looks like this semicolon is not valid.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---
...Since I'm not familiar with these parts of the kernel, you might know
better than I do if this is stuff is valid...
arch/mips/kernel/irixsig.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c
index 6980deb..28b2a8f 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);
--
1.5.0.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] [MIPS] Invalid semicolon after if statement
2007-08-15 22:03 [PATCH] [MIPS] Invalid semicolon after if statement Ilpo Järvinen
@ 2007-08-16 10:58 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-08-16 10:58 UTC (permalink / raw)
To: Ilpo Järvinen; +Cc: linux-mips
On Thu, Aug 16, 2007 at 01:03:01AM +0300, Ilpo Järvinen wrote:
Applied. Thanks!
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-16 10:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-15 22:03 [PATCH] [MIPS] Invalid semicolon after if statement Ilpo Järvinen
2007-08-16 10:58 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox