Re: [PATCH] iommu/virtio: Fix compile error with viommu_capable()

2022-09-07 Thread Robin Murphy
On 2022-09-07 16:11, Joerg Roedel wrote: From: Joerg Roedel A recent fix introduced viommu_capable() but other changes from Robin change the function signature of the call-back it is used for. When both changes are merged a compile error will happen because the function pointer types

Re: [PATCH] iommu/virtio: Fix compile error with viommu_capable()

2022-09-07 Thread Jean-Philippe Brucker
On Wed, Sep 07, 2022 at 05:11:54PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > A recent fix introduced viommu_capable() but other changes > from Robin change the function signature of the call-back it > is used for. > > When both changes are merged a compile error will happen > because

[PATCH] iommu/virtio: Fix compile error with viommu_capable()

2022-09-07 Thread Joerg Roedel
From: Joerg Roedel A recent fix introduced viommu_capable() but other changes from Robin change the function signature of the call-back it is used for. When both changes are merged a compile error will happen because the function pointer types mismatch. Fix that by updating the viommu_capable()