Fedor Pchelkin f7c9ccaadf 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 <21cnbao@gmail.com>
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2024-05-23 15:06:47 +02:00
..
2024-02-22 10:24:53 -08:00
2024-01-18 16:49:34 -08:00
2022-03-03 14:00:57 +03:00
2024-05-20 10:23:39 -07:00
2024-05-20 10:23:39 -07:00