From: Jiang Liu Date: Mon, 6 Jan 2014 06:18:24 +0000 (+0800) Subject: iommu/vt-d: fix wrong return value of dmar_table_init() X-Git-Tag: v3.14-rc1~50^2^3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc05301fd54f3e166aedf24e39f6731c4dec0451;p=pandora-kernel.git iommu/vt-d: fix wrong return value of dmar_table_init() If dmar_table_init() fails to detect DMAR table on the first call, it will return wrong result on following calls because it always sets dmar_table_initialized no matter if succeeds or fails to detect DMAR table. Signed-off-by: Jiang Liu Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed