[Top] [All Lists]

Re: [PATCH] fix post-fence error

To: Roel Kluin <>
Subject: Re: [PATCH] fix post-fence error
From: Sergei Shtylyov <>
Date: Sat, 27 Oct 2007 16:02:10 +0400
In-reply-to: <>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;
References: <>
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803

Roel Kluin wrote:

In the same file:

typedef struct {
        unsigned long sig[4];
} irix_sigset_t;
diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c
index a0a9105..d65c51c 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++)

Could also add spaces between the operands and operators (like above/below), while at it...

                        tmp |= (current->pending.signal.sig[i] & kset.sig[i]);

WBR, Sergei

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