diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-01-23 11:33:56 +0300 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2018-01-28 22:17:24 -0500 |
commit | cd20dc3ca75f17fd391e825b1606050bd62703fc (patch) | |
tree | 55baf1f3aee9d17eaed27f0e6e826cb6f7e09b4b /drivers/target | |
parent | ae07abdb84b267627f6e10fb813e62de5c3c8117 (diff) | |
download | talos-obmc-linux-cd20dc3ca75f17fd391e825b1606050bd62703fc.tar.gz talos-obmc-linux-cd20dc3ca75f17fd391e825b1606050bd62703fc.zip |
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>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions