Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dma-mapping: benchmark: avoid needless copy_to_user if benchmark fails
If do_map_benchmark() has failed, there is nothing useful to copy back to userspace. Suggested-by: Barry Song <[email protected]> Signed-off-by: Fedor Pchelkin <[email protected]> Acked-by: Robin Murphy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
- Loading branch information