Re: [PATCH 1/1] iommu/amd: initialize devid variable before using it

From: Joerg Roedel
Date: Mon Jun 27 2016 - 07:28:17 EST


On Sun, Jun 26, 2016 at 10:33:29AM +0200, Nicolas Iooss wrote:
> Commit 2a0cb4e2d423 ("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.
>
> Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@xxxxxxx>
> ---
> drivers/iommu/amd_iommu_init.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.