]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/amd: Initialize devid variable before using it
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>
Sun, 26 Jun 2016 08:33:29 +0000 (10:33 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 27 Jun 2016 11:24:46 +0000 (13:24 +0200)
commit2fa28a1382b35052f5b5a249a7453603510d94cd
treefe245873dda4fc4cbe8f8439c3b3fb7300d80d39
parent70b1c615d900cb9c135b7e7bf7be431f6d310689
iommu/amd: Initialize devid variable before using it

Commit 851df8ea0279 ("iommu/amd: Add new map for storing IVHD dev entry
type HID") added a call to DUMP_printk in init_iommu_from_acpi() which
used the value of devid before this variable was initialized.

Fixes: 851df8ea0279 ('iommu/amd: Add new map for storing IVHD dev entry type HID')
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu_init.c