Re: [PATCH 2/2] dma: ioat: fix improper return value on failures

2016-12-02 Thread Vinod Koul
On Thu, Dec 01, 2016 at 03:32:09PM +0800, Pan Bian wrote: > Fix bug https://bugzilla.kernel.org/show_bug.cgi?id=188601. This patch > is based on "0001-dma-ioat-set-error-code-on-failures.patch". In this > patch, assign error code -ENOMEM to return variable err as long as the > call to

Re: [PATCH 2/2] dma: ioat: fix improper return value on failures

2016-12-02 Thread Vinod Koul
On Thu, Dec 01, 2016 at 03:32:09PM +0800, Pan Bian wrote: > Fix bug https://bugzilla.kernel.org/show_bug.cgi?id=188601. This patch > is based on "0001-dma-ioat-set-error-code-on-failures.patch". In this > patch, assign error code -ENOMEM to return variable err as long as the > call to

Re: [PATCH 2/2] dma: ioat: fix improper return value on failures

2016-12-01 Thread Dave Jiang
On 12/01/2016 12:32 AM, Pan Bian wrote: > Fix bug https://bugzilla.kernel.org/show_bug.cgi?id=188601. This patch > is based on "0001-dma-ioat-set-error-code-on-failures.patch". In this > patch, assign error code -ENOMEM to return variable err as long as the > call to dma_mapping_error() fails. >

Re: [PATCH 2/2] dma: ioat: fix improper return value on failures

2016-12-01 Thread Dave Jiang
On 12/01/2016 12:32 AM, Pan Bian wrote: > Fix bug https://bugzilla.kernel.org/show_bug.cgi?id=188601. This patch > is based on "0001-dma-ioat-set-error-code-on-failures.patch". In this > patch, assign error code -ENOMEM to return variable err as long as the > call to dma_mapping_error() fails. >