commit | cd20dc3ca75f17fd391e825b1606050bd62703fc | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Jan 23 11:33:56 2018 +0300 |
committer | Jon Mason <jdmason@kudzu.us> | Sun Jan 28 22:17:24 2018 -0500 |
tree | 55baf1f3aee9d17eaed27f0e6e826cb6f7e09b4b | |
parent | ae07abdb84b267627f6e10fb813e62de5c3c8117 [diff] |
ntb_perf: Fix an error code in perf_copy_chunk() We accidentally return success if dmaengine_submit() fails. The fix is to preserve the error code from dma_submit_error(). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Serge Semin <fancer.lancer@gmail.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>