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 accepted this patch, but could you please change this function
name, as it polutes the global namespace.

thanks,

greg k-h


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to