Re: [PATCH 1/1] dma: ioat: set error code on failures

2016-12-02 Thread Vinod Koul
On Thu, Dec 01, 2016 at 03:10:12PM +0800, Pan Bian wrote: > Fix bug https://bugzilla.kernel.org/show_bug.cgi?id=188591. In function > ioat_dma_self_test(), when the calls to dma_mapping_error() fails, the > value of return variable err is 0 (indicates no error). As a result, the > return value may

Re: [PATCH 1/1] dma: ioat: set error code on failures

2016-12-01 Thread Dave Jiang
On 12/01/2016 12:10 AM, Pan Bian wrote: > Fix bug https://bugzilla.kernel.org/show_bug.cgi?id=188591. In function > ioat_dma_self_test(), when the calls to dma_mapping_error() fails, the > value of return variable err is 0 (indicates no error). As a result, the > return value may be inconsistent