diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-01-06 14:18:24 +0800 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2014-01-09 12:43:45 +0100 |
commit | cc05301fd54f3e166aedf24e39f6731c4dec0451 (patch) | |
tree | 3c5baf4bc8037b6ef97ef72de9d370af7885bcfd /drivers/iommu/irq_remapping.c | |
parent | a84da70b7ba0c5236fccf25115acefc235ed65f9 (diff) |
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 <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/iommu/irq_remapping.c')
0 files changed, 0 insertions, 0 deletions