diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2023-11-22 04:26:08 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-11-27 11:07:54 +0100 |
commit | e378c7de74620051c3be899a8c2506c25d23049d (patch) | |
tree | 0cb3ba9bd7276b945ef02eebe73cbc3496f5b0cc /drivers/iommu/of_iommu.c | |
parent | iommu/vt-d: Fix incorrect cache invalidation for mm notification (diff) | |
download | linux-e378c7de74620051c3be899a8c2506c25d23049d.tar.xz linux-e378c7de74620051c3be899a8c2506c25d23049d.zip |
iommu/vt-d: Set variable intel_dirty_ops to static
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.
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>
Diffstat (limited to 'drivers/iommu/of_iommu.c')
0 files changed, 0 insertions, 0 deletions