Message ID | 20220202023743.28135-1-akeem.g.abodunrin@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | iommu/vt-d: Remove comment reference to iommu_dev_has_feature | expand |
On 2/2/22 10:37 AM, Akeem G Abodunrin wrote: > iommu_dev_has_feature() api has been removed by the commit 262948f8ba573 > ("iommu: Delete iommu_dev_has_feature()") - So this patch removes comment > about the api to avoid any confusion. > > Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com> > Cc: Lu Baolu <baolu.lu@linux.intel.com> It's not a change for iommu/vt-d, but for iommu core. Please add Joerg in the to list. Best regards, baolu > --- > include/linux/iommu.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/include/linux/iommu.h b/include/linux/iommu.h > index de0c57a567c8..bea054f2bd4d 100644 > --- a/include/linux/iommu.h > +++ b/include/linux/iommu.h > @@ -153,8 +153,7 @@ struct iommu_resv_region { > * supported, this feature must be enabled before and > * disabled after %IOMMU_DEV_FEAT_SVA. > * > - * Device drivers query whether a feature is supported using > - * iommu_dev_has_feature(), and enable it using iommu_dev_enable_feature(). > + * Device drivers enable the feature via iommu_dev_enable_feature(). > */ > enum iommu_dev_features { > IOMMU_DEV_FEAT_AUX,
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index de0c57a567c8..bea054f2bd4d 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -153,8 +153,7 @@ struct iommu_resv_region { * supported, this feature must be enabled before and * disabled after %IOMMU_DEV_FEAT_SVA. * - * Device drivers query whether a feature is supported using - * iommu_dev_has_feature(), and enable it using iommu_dev_enable_feature(). + * Device drivers enable the feature via iommu_dev_enable_feature(). */ enum iommu_dev_features { IOMMU_DEV_FEAT_AUX,
iommu_dev_has_feature() api has been removed by the commit 262948f8ba573 ("iommu: Delete iommu_dev_has_feature()") - So this patch removes comment about the api to avoid any confusion. Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com> Cc: Lu Baolu <baolu.lu@linux.intel.com> --- include/linux/iommu.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)