Searched hist:bb3a23d5b0b43bed3c9a6ecf5a6871e2871be883 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/i386/ |
H A D | intel_iommu.c | diff bb3a23d5b0b43bed3c9a6ecf5a6871e2871be883 Tue Jul 09 09:26:10 CDT 2024 Clément Mathieu--Drif <clement.mathieu--drif@eviden.com> intel_iommu: make type match
The 'level' field in vtd_iotlb_key is an unsigned integer. We don't need to store level as an int in vtd_lookup_iotlb.
This is not an issue by itself, but using unsigned here seems cleaner.
Signed-off-by: Clément Mathieu--Drif <clement.mathieu--drif@eviden.com> Reviewed-by: Yi Liu <yi.l.liu@intel.com> Message-Id: <20240709142557.317271-5-clement.mathieu--drif@eviden.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|