[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CEE6BB42CAD6E947908279175AF8470A025E5ADB79@EXDCVYMBSTM006.EQ1STM.local>
Date: Mon, 14 Jun 2010 18:41:06 +0200
From: Linus WALLEIJ <linus.walleij@...ricsson.com>
To: Dan Williams <dan.j.williams@...el.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jonas ABERG <jonas.aberg@...ricsson.com>
Subject: RE: [PATCH 08/18] DMAENGINE: ste_dma40: lock fix
On 06/12/2010 12:38 AM, Dan Williams wrote:
> On Tue, Jun 1, 2010 at 5:21 AM, Linus Walleij
> <linus.walleij@...ricsson.com> wrote:
>> From: Jonas Aaberg <jonas.aberg@...ricsson.com>
>>
>> Fix up some locking issues found by enabling lock debugging.
>>
>> Signed-off-by: Jonas Aaberg <jonas.aberg@...ricsson.com>
>> Signed-off-by: Linus Walleij <linus.walleij@...ricsson.com>
>> ---
>> 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.
Well, actually it was overwriting a spinlock, so I would considering
a locking bug area atleast.
But if you prefer we split this one-liner into a separate patch.
Yours,
Linus Walleij
--
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