]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
iommu/vt-d: Silence an uninitialized variable warning
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Apr 2016 18:38:56 +0000 (21:38 +0300)
committerJoerg Roedel <jroedel@suse.de>
Thu, 7 Apr 2016 12:51:47 +0000 (14:51 +0200)
commit0b74ecdfbea893ae585bc694136a3f50f5856cfe
treebf4be392163f8fa2ca69b5597536c523d78e5779
parentfbedd9b9905c1643b9f7244d88999e39632bbd87
iommu/vt-d: Silence an uninitialized variable warning

My static checker complains that "dma_alias" is uninitialized unless we
are dealing with a pci device.  This is true but harmless.  Anyway, we
can flip the condition around to silence the warning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c