summaryrefslogtreecommitdiffstats
path: root/sys/x86/iommu
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-11-09 22:05:29 +0000
committerdim <dim@FreeBSD.org>2013-11-09 22:05:29 +0000
commit65aecc9afe80e46b9b685ae7864989efd2b29d9e (patch)
tree5759834a5a172999a6f395b20b97892449c041e9 /sys/x86/iommu
parentae77d250d37bc175d131be294839825b571854ea (diff)
downloadFreeBSD-src-65aecc9afe80e46b9b685ae7864989efd2b29d9e.zip
FreeBSD-src-65aecc9afe80e46b9b685ae7864989efd2b29d9e.tar.gz
Fix gcc warning about an uninitialized bool in sys/x86/iommu/intel_drv.c.
Reviewed by: kib
Diffstat (limited to 'sys/x86/iommu')
-rw-r--r--sys/x86/iommu/intel_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/x86/iommu/intel_drv.c b/sys/x86/iommu/intel_drv.c
index 781b009..a846b92 100644
--- a/sys/x86/iommu/intel_drv.c
+++ b/sys/x86/iommu/intel_drv.c
@@ -1049,6 +1049,8 @@ DB_FUNC(dmar_ctx, db_dmar_print_ctx, db_show_table, CS_OWN, NULL)
}
show_mappings = strchr(db_tok_string, 'm') != NULL;
t = db_read_token();
+ } else {
+ show_mappings = false;
}
if (t == tNUMBER) {
domain = db_tok_number;
OpenPOWER on IntegriCloud