]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ntb: migrate to dma_map_phys instead of map_page
authorChu Guangqing <chuguangqing@inspur.com>
Fri, 24 Oct 2025 06:20:42 +0000 (14:20 +0800)
committerJon Mason <jdmason@kudzu.us>
Fri, 20 Feb 2026 22:31:55 +0000 (17:31 -0500)
commitc722e055d8630683177c46738f41fe5fbb0e5045
tree84ebadcdf6adbec61d7f0a3b6639aa1b46f109a5
parent322617a06c97153f7b0681ecaa55490abccff7fa
ntb: migrate to dma_map_phys instead of map_page

After introduction of dma_map_phys(), there is no need to convert
from physical address to struct page in order to map page. So let's
use it directly.

Signed-off-by: Chu Guangqing <chuguangqing@inspur.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c