Re: [Danger] Re: test8-pre4: innd fixed?

From: Alexander Viro (viro@math.psu.edu)
Date: Tue Sep 05 2000 - 08:05:41 EST


On Tue, 5 Sep 2000, Alexander Viro wrote:

> I'll try to reproduce this sucker...

Did it. Gentlemen, how long will it take you to notice something strange
in the following?

static inline int all_zeroes(u32 *p, u32 *q)
{
        while (p < q)
                if (*p++)
                        return 1;
        return 0;
}

Damn... OK, I'm building it with the obvious fix. Linus, could you pass me
one of those brown paperbags?
                                                                Al

PS: folks, _any_ additional eyes are more than welcome. I tried to make
the structure of code as straightforward as possible, so it should be
readable...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:22 EST