Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 24 Jul 2023 14:43:37 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH v4 1/4] iommu: Move dev_iommu_ops() to private header |
| |
On Mon, Jul 24, 2023 at 03:59:33AM -0700, Yi Liu wrote: > dev_iommu_ops() is essentially only used in iommu subsystem, so > move to a private header to avoid being abused by other drivers. > > Suggested-by: Jason Gunthorpe <jgg@nvidia.com> > Reviewed-by: Kevin Tian <kevin.tian@intel.com> > Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> > Signed-off-by: Yi Liu <yi.l.liu@intel.com> > --- > drivers/iommu/iommu-priv.h | 11 +++++++++++ > include/linux/iommu.h | 11 ----------- > 2 files changed, 11 insertions(+), 11 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Jason
| ![\](/images/icornerr.gif) |