Re: [PATCH 08/18] DMAENGINE: ste_dma40: lock fix
From: Dan Williams
Date: Fri Jun 11 2010 - 18:38:34 EST
On Tue, Jun 1, 2010 at 5:21 AM, Linus Walleij
<linus.walleij@xxxxxxxxxxxxxx> wrote:
> From: Jonas Aaberg <jonas.aberg@xxxxxxxxxxxxxx>
>
> Fix up some locking issues found by enabling lock debugging.
>
> Signed-off-by: Jonas Aaberg <jonas.aberg@xxxxxxxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxxxxxx>
> ---
> drivers/dma/ste_dma40.c | 14 +++++++-------
> 1 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
> index aba86bb..c4b0d37 100644
> --- a/drivers/dma/ste_dma40.c
> +++ b/drivers/dma/ste_dma40.c
[..]
> static int d40_channel_execute_command(struct d40_chan *d40c,
> @@ -1990,8 +1992,6 @@ static struct dma_async_tx_descriptor *d40_prep_slave_sg(struct dma_chan *chan,
> if (d40d == NULL)
> return NULL;
>
> - memset(d40d, 0, sizeof(struct d40_desc));
> -
This one isn't a locking bug fix.
--
Dan
--
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/