lkml.org 
[lkml]   [2022]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] RDMA/usnic: Refactor usnic_uiom_alloc_pd()
On Tue, Apr 05, 2022 at 03:35:59PM +0100, Robin Murphy wrote:
> Rather than hard-coding pci_bus_type, pass the PF device through to
> usnic_uiom_alloc_pd() and retrieve its bus there. This prepares for
> iommu_domain_alloc() changing to take a device rather than a bus_type.
>
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
> Reported-by: kernel test robot <lkp@intel.com>
> ---
> drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 3 +--
> drivers/infiniband/hw/usnic/usnic_uiom.c | 5 ++---
> drivers/infiniband/hw/usnic/usnic_uiom.h | 2 +-
> 3 files changed, 4 insertions(+), 6 deletions(-)

Applied to for-next, thanks

Jason

\
 
 \ /
  Last update: 2022-04-08 19:24    [W:0.052 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site