From: Dan Williams <dan.j.williams@intel.com>
To: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Cc: linux <linux-kernel@vger.kernel.org>,
"Sosnowski, Maciej" <maciej.sosnowski@intel.com>
Subject: Re: [PATCH 1/1] dma:
Date: Tue, 13 May 2008 15:55:06 -0700 [thread overview]
Message-ID: <1210719306.26026.89.camel@dwillia2-linux.ch.intel.com> (raw)
In-Reply-To: <20080512205052.C1DFB7000085@mwinf2b01.orange.fr>
On Mon, 2008-05-12 at 13:50 -0700, Christophe Jaillet wrote:
> From: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
>
> Hi, here is a patch against linux/drivers/dma/iop-adma.c which :
>
> 1) Remove an explicit memset(.., 0, ...) to a variable allocated with
> kzalloc (i.e. 'dest').
>
> 2) Allocate 'src' with kmalloc instead of kzalloc as all elements of
> the
> 'src' buffer are initialized in a 'for(...)' loop just after.
>
> 3) remove useless 'sizeof(u8)', which always returns 1, when computing
> the
> size of the memory to be allocated.
>
>
> Note: this patch is based on 'linux-2.6.25.tar.bz2'
>
> Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Thanks, applied.
--
Dan
prev parent reply other threads:[~2008-05-13 22:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080512205052.C1DFB7000085@mwinf2b01.orange.fr>
2008-05-13 13:04 ` [PATCH 1/1] dma: Sosnowski, Maciej
2008-05-13 22:55 ` Dan Williams [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=1210719306.26026.89.camel@dwillia2-linux.ch.intel.com \
--to=dan.j.williams@intel.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=maciej.sosnowski@intel.com \
/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