]> Gentwo Git Trees - linux/.git/commit
iommufd: Rename uptr in iopt_alloc_iova()
authorSteve Sistare <steven.sistare@oracle.com>
Fri, 25 Oct 2024 13:11:52 +0000 (06:11 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 28 Oct 2024 16:24:23 +0000 (13:24 -0300)
commit32383c085c1c7e2e4d9e1a3b31eb1ff17b0a5a85
tree6d696fa54317190702f627df4b7212cf82dfe745
parenta2ad1b8101a36c927bcbd1317475b9576c352155
iommufd: Rename uptr in iopt_alloc_iova()

iopt_alloc_iova() takes a uptr argument but only checks for its alignment.
Generalize this to an unsigned address, which can be the offset from the
start of a file in a subsequent patch.  No functional change.

Link: https://patch.msgid.link/r/1729861919-234514-3-git-send-email-steven.sistare@oracle.com
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/iommu/iommufd/io_pagetable.c