diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-14 10:59:20 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-08-20 15:35:03 +0300 |
commit | dea027f28209aa7a23a4e56b2ae270f16d48055d (patch) | |
tree | 7a25b4f333ec6dc8972d65338c57abbd3f6084f5 /drivers/md/dm-ioctl.c | |
parent | a7d1f22bb74f32cf3cd93f52776007e161f1a738 (diff) | |
download | linux-dea027f28209aa7a23a4e56b2ae270f16d48055d.tar.xz |
nouveau: reset dma_nr in nouveau_dmem_migrate_alloc_and_copy
When we start a new batch of dma_map operations we need to reset dma_nr,
as we start filling a newly allocated array.
Link: https://lore.kernel.org/r/20190814075928.23766-3-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>
Tested-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/md/dm-ioctl.c')
0 files changed, 0 insertions, 0 deletions