aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/isl9305.c
diff options
context:
space:
mode:
authorJason Gunthorpe2020-09-04 19:41:46 -0300
committerJason Gunthorpe2020-09-09 15:33:17 -0300
commit89603f7e7e5a6b719f1a163a05bd8a9231b58318 (patch)
tree5b3a35c74fa3f9e60013e9871b7f0ce8346116a7 /drivers/regulator/isl9305.c
parentebc24096c4c40017d9f9b0fddc5d69b94ad10369 (diff)
RDMA/umem: Replace for_each_sg_dma_page with rdma_umem_for_each_dma_block
Generally drivers should be using this core helper to split up the umem into DMA pages. These drivers are all probably wrong in some way to pass PAGE_SIZE in as the HW page size. Either the driver doesn't support other page sizes and it should use 4096, or the driver does support other page sizes and should use ib_umem_find_best_pgsz() to select the best HW pages size of the HW supported set. The only case it could be correct is if the HW has a global setting for PAGE_SIZE set at driver initialization time. Link: https://lore.kernel.org/r/5-v2-270386b7e60b+28f4-umem_1_jgg@nvidia.com Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/regulator/isl9305.c')
0 files changed, 0 insertions, 0 deletions