diff options
author | Ohad Sharabi <osharabi@habana.ai> | 2022-03-24 16:34:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-22 21:01:18 +0200 |
commit | ab4ea5872842766b0155b2517db61a4ae99d98e0 (patch) | |
tree | 40c6c06043e36b7ed25b4afff96aaff28bf8cb53 /block/blk-wbt.c | |
parent | b8d852add6ea50d1395522e31a2330b9e567d1a0 (diff) | |
download | linux-ab4ea5872842766b0155b2517db61a4ae99d98e0.tar.bz2 |
habanalabs: use for_each_sgtable_dma_sg for dma sgt
Instead of using for_each_sg when iterating sgt that contains dma
entries, use the more proper for_each_sgtable_dma_sg macro.
In addition, both Goya and Gaudi have the exact same implementation
of the asic function that encapsulate the usage of this macro, so
it is better to move that implementation to the common code.
Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/blk-wbt.c')
0 files changed, 0 insertions, 0 deletions