iommu/vt-d: Set variable intel_dirty_ops to static
mainline inclusion from mainline-v6.7-rc4 commit e378c7de74620051c3be899a8c2506c25d23049d category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8Y6AM CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?e378c7de74620051c3be899a8c2506c25d23049d -------------------------------- Fix the following warning: drivers/iommu/intel/iommu.c:302:30: warning: symbol 'intel_dirty_ops' was not declared. Should it be static? This variable is only used in its defining file, so it should be static. Intel-SIG: e378c7de7462 iommu/vt-d: Set variable intel_dirty_ops to static Backport IOMMUFD Dirty Tracking Fixes: f35f22cc760e ("iommu/vt-d: Access/Dirty bit support for SS domains") Signed-off-by:Kunwu Chan <chentao@kylinos.cn> Reviewed-by:
Jason Gunthorpe <jgg@nvidia.com> Reviewed-by:
Joao Martins <joao.m.martins@oracle.com> Link: https://lore.kernel.org/r/20231120101025.1103404-1-chentao@kylinos.cn Signed-off-by:
Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by:
Joerg Roedel <jroedel@suse.de> [ jz: amend commit log ] Signed-off-by:
Jason Zeng <jason.zeng@intel.com>
Loading
Please sign in to comment