linux-mips
[Top] [All Lists]

Re: [PATCH] fix post-fence error

To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Subject: Re: [PATCH] fix post-fence error
From: Roel Kluin <12o3l@tiscali.nl>
Date: Sat, 27 Oct 2007 14:16:45 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <472328C2.4000002@ru.mvista.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <47228018.8020202@tiscali.nl> <472328C2.4000002@ru.mvista.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.6 (X11/20070728)
Sergei Shtylyov wrote:
> 
>    Could also add spaces between the operands and operators (like
> above/below), while at it...
> 
like this?
--
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c
index a0a9105..11e74fe 100644
--- a/arch/mips/kernel/irixsig.c
+++ b/arch/mips/kernel/irixsig.c
@@ -527,7 +527,7 @@ asmlinkage int irix_sigpoll_sys(unsigned long __user *set,
 
                expire = schedule_timeout_interruptible(expire);
 
-               for (i=0; i<=4; i++)
+               for (i = 0; i < 4; i++)
                        tmp |= (current->pending.signal.sig[i] & kset.sig[i]);
 
                if (tmp)


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