diff options
| author | Ankit Agrawal <ankita@nvidia.com> | 2025-11-27 17:06:29 +0000 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2025-11-28 10:07:25 -0700 |
| commit | 7f5764e179c66f4d3776b4fcb78b383ebcd99fb3 (patch) | |
| tree | fa4ccdcd811c4df260600e1ab8532ad9f5681ef9 /rust/helpers/processor.c | |
| parent | 9db65489b87298f20baef683e70143c108959793 (diff) | |
vfio: use vfio_pci_core_setup_barmap to map bar in mmap
Remove code duplication in vfio_pci_core_mmap by calling
vfio_pci_core_setup_barmap to perform the bar mapping.
No functional change is intended.
Cc: Donald Dutile <ddutile@redhat.com>
Reviewed-by: Shameer Kolothum <skolothumtho@nvidia.com>
Reviewed-by: Zhi Wang <zhiw@nvidia.com>
Suggested-by: Alex Williamson <alex@shazbot.org>
Signed-off-by: Ankit Agrawal <ankita@nvidia.com>
Link: https://lore.kernel.org/r/20251127170632.3477-4-ankita@nvidia.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions
