public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Simon Sudler <Simon.Sudler@gmx.net>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: reed-solomon lib
Date: Mon, 01 Aug 2005 18:22:21 +0200	[thread overview]
Message-ID: <1122913341.13828.3.camel@lap02.tec.linutronix.de> (raw)
In-Reply-To: <42EE4462.9030101@gmx.net>

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



      reply	other threads:[~2005-08-01 16:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-01 15:48 reed-solomon lib Simon Sudler
2005-08-01 16:22 ` Thomas Gleixner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1122913341.13828.3.camel@lap02.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=Simon.Sudler@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox