Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
xen.30330
6148455f-VT-d-PCI-segment-numbers-16-bits.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6148455f-VT-d-PCI-segment-numbers-16-bits.patch of Package xen.30330
# Commit a3dd33e63c2c8c51102f223e6efe2e3d3bdcbec1 # Date 2021-09-20 10:25:03 +0200 # Author Jan Beulich <jbeulich@suse.com> # Committer Jan Beulich <jbeulich@suse.com> VT-d: PCI segment numbers are up to 16 bits wide We shouldn't silently truncate respective values. Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -1845,7 +1845,8 @@ static const struct acpi_drhd_unit *doma struct acpi_drhd_unit *drhd; struct vtd_iommu *iommu; int ret = 0; - u8 seg = pdev->seg, bus = pdev->bus, tmp_bus, tmp_devfn, secbus; + uint16_t seg = pdev->seg; + uint8_t bus = pdev->bus, tmp_bus, tmp_devfn, secbus; drhd = acpi_find_matched_drhd_unit(pdev); if ( !drhd )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor