• Yijing Wang's avatar
    iommu/vt-d: Suppress compiler warnings · aa4d066a
    Yijing Wang authored
    suppress compiler warnings:
    drivers/iommu/intel-iommu.c: In function ‘device_to_iommu’:
    drivers/iommu/intel-iommu.c:673: warning: ‘segment’ may be used uninitialized in this function
    drivers/iommu/intel-iommu.c: In function ‘get_domain_for_dev.clone.3’:
    drivers/iommu/intel-iommu.c:2217: warning: ‘bridge_bus’ may be used uninitialized in this function
    drivers/iommu/intel-iommu.c:2217: warning: ‘bridge_devfn’ may be used uninitialized in this function
    Signed-off-by: default avatarYijing Wang <wangyijing@huawei.com>
    Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
    aa4d066a
intel-iommu.c 116 KB