aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorOhad Sharabi <osharabi@habana.ai>2022-03-24 16:34:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-22 21:01:18 +0200
commitab4ea5872842766b0155b2517db61a4ae99d98e0 (patch)
tree40c6c06043e36b7ed25b4afff96aaff28bf8cb53 /crypto
parenthabanalabs/gaudi: use lower_32_bits() for casting (diff)
downloadlinux-dev-ab4ea5872842766b0155b2517db61a4ae99d98e0.tar.xz
linux-dev-ab4ea5872842766b0155b2517db61a4ae99d98e0.zip
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 'crypto')
0 files changed, 0 insertions, 0 deletions