On Sun, Feb 16, 2003 at 06:42:23PM +0100, Duncan Sands wrote:
> On Sunday 16 February 2003 18:31, Greg KH wrote:
> > On Fri, Feb 07, 2003 at 09:00:46AM +0100, Duncan Sands wrote:
> > > -#define CRC32(c,crc) (crc32tab[((size_t)(crc>>24) ^ (c)) & 0xff] ^
> > > (((crc) << 8)))
> >
> > Is there any rea
On Sunday 16 February 2003 18:31, Greg KH wrote:
> On Fri, Feb 07, 2003 at 09:00:46AM +0100, Duncan Sands wrote:
> > -#define CRC32(c,crc) (crc32tab[((size_t)(crc>>24) ^ (c)) & 0xff] ^
> > (((crc) << 8)))
>
> Is there any reason you can't use the crc code that's already in the
> kernel?
>
> > +unsi
On Fri, Feb 07, 2003 at 09:00:46AM +0100, Duncan Sands wrote:
> -#define CRC32(c,crc) (crc32tab[((size_t)(crc>>24) ^ (c)) & 0xff] ^ (((crc) << 8)))
Is there any reason you can't use the crc code that's already in the
kernel?
> +unsigned long calc_crc (char *mem, int len, unsigned initial);
I've