Re: [PATCH] crypto/crc32c.c (was Re: CRC32c warning on sparc64)

From: David S. Miller
Date: Fri May 07 2004 - 17:03:48 EST


On Thu, 06 May 2004 14:40:32 -0500
Clay Haapala <chaapala@xxxxxxxxx> wrote:

> Well, it's my opinion that using "size_t" is correct usage of type in
> this case. So here's my thinking:
>
> * we leave lib/crc32c() as it is with size_t, as it is meant to be
> derived from crc32() and that uses size_t.
>
> * crypto/crc32c is a wrapper for lib/crc32c. The interface it
> presents to the rest of the crypto routines should agree. My bad.
> So, let us let it translate with a cast, as in the patch below.

This works for me, patch applied.
-
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/