Re: Patch for strncmp use in s390 in 2.5

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Wed May 28 2003 - 15:35:40 EST


On Wed, 28 May 2003, Pete Zaitcev wrote:

> Martin & others:
>
> I didn't see this posted before. Sorry if I missed it.
> It's a harmless buglet which causes false positives with correctness
> checking tools, and so annoys me.
>
> Cheers,
> -- Pete

Maybe it should be changed to memcmp() with the null-byte included
in the length since the compare length is already defined in the code.
This should reduce the overhead at the same time it gets rid
of the false positive.

[SNIPPED...]


Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.

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