Re: [PATCH] check for allocation failure in ioat_dma_self_test

2013-03-05 Thread Andrew Cooks
On Mon, Mar 4, 2013 at 6:11 PM, Russell King - ARM Linux wrote: > On Mon, Mar 04, 2013 at 04:39:16PM +0800, Andrew Cooks wrote: >> diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c >> index 1879a59..1f706c4 100644 >> --- a/drivers/dma/ioat/dma.c >> +++ b/drivers/dma/ioat/dma.c >> @@

Re: [PATCH] check for allocation failure in ioat_dma_self_test

2013-03-05 Thread Andrew Cooks
On Mon, Mar 4, 2013 at 6:11 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Mar 04, 2013 at 04:39:16PM +0800, Andrew Cooks wrote: diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c index 1879a59..1f706c4 100644 --- a/drivers/dma/ioat/dma.c +++

Re: [PATCH] check for allocation failure in ioat_dma_self_test

2013-03-04 Thread Russell King - ARM Linux
On Mon, Mar 04, 2013 at 04:39:16PM +0800, Andrew Cooks wrote: > diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c > index 1879a59..1f706c4 100644 > --- a/drivers/dma/ioat/dma.c > +++ b/drivers/dma/ioat/dma.c > @@ -832,7 +832,18 @@ int ioat_dma_self_test(struct ioatdma_device *device) >

[PATCH] check for allocation failure in ioat_dma_self_test

2013-03-04 Thread Andrew Cooks
This patch fixes a warning in ioat_dma_self_test when DMA_API_DEBUG is enabled. The warning is: [1.581984] ioatdma: Intel(R) QuickData Technology Driver 4.00 [1.582095] bus: 'pci': add driver ioatdma [1.582102] bus: 'pci': driver_probe_device: matched device :00:04.0 with driver

[PATCH] check for allocation failure in ioat_dma_self_test

2013-03-04 Thread Andrew Cooks
This patch fixes a warning in ioat_dma_self_test when DMA_API_DEBUG is enabled. The warning is: [1.581984] ioatdma: Intel(R) QuickData Technology Driver 4.00 [1.582095] bus: 'pci': add driver ioatdma [1.582102] bus: 'pci': driver_probe_device: matched device :00:04.0 with driver

Re: [PATCH] check for allocation failure in ioat_dma_self_test

2013-03-04 Thread Russell King - ARM Linux
On Mon, Mar 04, 2013 at 04:39:16PM +0800, Andrew Cooks wrote: diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c index 1879a59..1f706c4 100644 --- a/drivers/dma/ioat/dma.c +++ b/drivers/dma/ioat/dma.c @@ -832,7 +832,18 @@ int ioat_dma_self_test(struct ioatdma_device *device)