Re: crc32 cleanups

Kai Henningsen (kaih@khms.westfalen.de)
13 Oct 2001 13:47:00 +0200


Matt_Domsch@Dell.com wrote on 12.10.01 in <71714C04806CD51193520090272892178BD70D@ausxmrr502.us.dell.com>:

> And, just when I thought I understood the crc32 stuff, here's an even better
> explanation/code/etc. With thanks.

Except for one thing:

> for (i = 0; i < i; i++)

I don't think this does what was intended. Should that perhaps be

> for (i = 0; i < 1; i++)

? That would mean one pass through the loop, whereas the original does no
passes through the loop.

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