svn commit: r257903 - head/sys/x86/iommu

Dimitry Andric dim at FreeBSD.org
Sat Nov 9 22:05:30 UTC 2013


Author: dim
Date: Sat Nov  9 22:05:29 2013
New Revision: 257903
URL: http://svnweb.freebsd.org/changeset/base/257903

Log:
  Fix gcc warning about an uninitialized bool in sys/x86/iommu/intel_drv.c.
  
  Reviewed by:	kib

Modified:
  head/sys/x86/iommu/intel_drv.c

Modified: head/sys/x86/iommu/intel_drv.c
==============================================================================
--- head/sys/x86/iommu/intel_drv.c	Sat Nov  9 22:00:44 2013	(r257902)
+++ head/sys/x86/iommu/intel_drv.c	Sat Nov  9 22:05:29 2013	(r257903)
@@ -1049,6 +1049,8 @@ DB_FUNC(dmar_ctx, db_dmar_print_ctx, db_
 		}
 		show_mappings = strchr(db_tok_string, 'm') != NULL;
 		t = db_read_token();
+	} else {
+		show_mappings = false;
 	}
 	if (t == tNUMBER) {
 		domain = db_tok_number;


More information about the svn-src-all mailing list