iommu/vt-d: Suppress compiler warnings
authorYijing Wang <wangyijing@huawei.com>
Mon, 26 May 2014 12:14:06 +0000 (20:14 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 4 Jul 2014 09:34:37 +0000 (11:34 +0200)
commitaa4d066a2a8041b7e73cee68ce5499aca29f265e
tree4d184fc41c9b892647a88febaa7bca05788fa867
parenteffad4b59f8a24f94c22c7fe38141c3b0576c366
iommu/vt-d: Suppress compiler warnings

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: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c