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

From: Vinod Koul
Date: Fri Dec 02 2016 - 05:23:07 EST


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 dma_mapping_error() fails.

Same here too..

--
~Vinod