Re: [PATCH] dmatest: Fix NULL pointer dereference on ioat

2012-11-11 Thread Jon Mason
On Sat, Nov 10, 2012 at 09:00:15AM +0530, viresh kumar wrote: > On Sat, Nov 10, 2012 at 2:27 AM, Jon Mason 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

Re: [PATCH] dmatest: Fix NULL pointer dereference on ioat

2012-11-11 Thread Jon Mason
On Sat, Nov 10, 2012 at 09:00:15AM +0530, viresh kumar wrote: On Sat, Nov 10, 2012 at 2:27 AM, Jon Mason jon.ma...@intel.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

Re: [PATCH] dmatest: Fix NULL pointer dereference on ioat

2012-11-09 Thread viresh kumar
On Sat, Nov 10, 2012 at 2:27 AM, Jon Mason 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

[PATCH] dmatest: Fix NULL pointer dereference on ioat

2012-11-09 Thread Jon Mason
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

[PATCH] dmatest: Fix NULL pointer dereference on ioat

2012-11-09 Thread Jon Mason
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

Re: [PATCH] dmatest: Fix NULL pointer dereference on ioat

2012-11-09 Thread viresh kumar
On Sat, Nov 10, 2012 at 2:27 AM, Jon Mason jon.ma...@intel.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.