[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1210719306.26026.89.camel@dwillia2-linux.ch.intel.com>
Date: Tue, 13 May 2008 15:55:06 -0700
From: Dan Williams <dan.j.williams@...el.com>
To: Christophe Jaillet <christophe.jaillet@...adoo.fr>
Cc: linux <linux-kernel@...r.kernel.org>,
"Sosnowski, Maciej" <maciej.sosnowski@...el.com>
Subject: Re: [PATCH 1/1] dma:
On Mon, 2008-05-12 at 13:50 -0700, Christophe Jaillet wrote:
> From: Christophe Jaillet <christophe.jaillet@...adoo.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@...adoo.fr>
Thanks, applied.
--
Dan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists