Re: reed-solomon lib

From: Thomas Gleixner
Date: Mon Aug 01 2005 - 11:35:27 EST


On Mon, 2005-08-01 at 17:48 +0200, Simon Sudler wrote:
> if (nroots < 0 || nroots >= (1<<symsize) || nroots > 8)
> return NULL;
....
> After removing of the "nroots > 8" my code was working fine...
> perhaps someone was to carful to avoid a errors with the kmalloc
> function in rs_init.

Honestly, I don't remember why it is there. Definitely not due to the
kmalloc. It can be safely removed. I'll fix this.

tglx


-
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/