Re: reed-solomon lib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux