[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOh2x==rW9NNJ6kxRF13D=eYVmHsEhCHck7ecDpe9YcrSm8mXA@mail.gmail.com>
Date: Thu, 22 Nov 2012 10:55:27 +0530
From: viresh kumar <viresh.kumar@...aro.org>
To: Vinod Koul <vinod.koul@...el.com>, Dan Williams <djbw@...com>
Cc: linux-kernel@...r.kernel.org, Dave Jiang <dave.jiang@...el.com>,
Jon Mason <jon.mason@...el.com>
Subject: Re: [PATCH v2] dmatest: Fix NULL pointer dereference on ioat
On Wed, Nov 14, 2012 at 8:17 AM, viresh kumar <viresh.kumar@...aro.org> wrote:
> On Mon, Nov 12, 2012 at 4:33 AM, Jon Mason <jon.mason@...el.com> wrote:
>> device_control is an optional and not implemented in all DMA drivers.
>> Any calls to these will result in a NULL pointer dereference. dmatest
>> makes two of these calls when completing the kernel thread and removing
>> the module. These are corrected by calling the dmaengine_device_control
>> wrapper and checking for a non-existant device_control function pointer
>> there.
>>
>> Signed-off-by: Jon Mason <jon.mason@...el.com>
>> CC: Vinod Koul <vinod.koul@...el.com>
>> CC: Dan Williams <djbw@...com>
> Reviewed-by: Viresh Kumar <viresh.kumar@...aro.org>
Vinod/Dan: I couldn't find this patch and
https://patchwork.kernel.org/patch/1720971/
in you trees. Are you pushing them for 3.8?
--
viresh
--
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