[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8D3F6266AEB6384E807C6FFC6FE195E302270D26@BGSMSX101.gar.corp.intel.com>
Date: Mon, 3 Dec 2012 17:42:00 +0000
From: "Koul, Vinod" <vinod.koul@...el.com>
To: viresh kumar <viresh.kumar@...aro.org>, Dan Williams <djbw@...com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Jiang, Dave" <dave.jiang@...el.com>,
"Mason, Jon" <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>
Applied, Thanks
--
~Vinod
--
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