diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2023-11-22 11:26:08 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-11-27 11:07:54 +0100 |
commit | e378c7de74620051c3be899a8c2506c25d23049d (patch) | |
tree | 0cb3ba9bd7276b945ef02eebe73cbc3496f5b0cc /scripts/bpf_doc.py | |
parent | e7ad6c2a4b1aa710db94060b716f53c812cef565 (diff) |
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 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions