svn commit: r251409 - stable/8/sys/dev/mps

Steven Hartland smh at FreeBSD.org
Wed Jun 5 10:53:28 UTC 2013


Author: smh
Date: Wed Jun  5 10:53:27 2013
New Revision: 251409
URL: http://svnweb.freebsd.org/changeset/base/251409

Log:
  MFC r250206:
  Fix uninitialized warning in mps

Modified:
  stable/8/sys/dev/mps/mps_mapping.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/dev/   (props changed)
  stable/8/sys/dev/mps/   (props changed)

Modified: stable/8/sys/dev/mps/mps_mapping.c
==============================================================================
--- stable/8/sys/dev/mps/mps_mapping.c	Wed Jun  5 10:37:27 2013	(r251408)
+++ stable/8/sys/dev/mps/mps_mapping.c	Wed Jun  5 10:53:27 2013	(r251409)
@@ -331,6 +331,8 @@ _mapping_get_high_missing_mt_idx(struct 
 	u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
 
 	start_idx = 0;
+	start_idx_ir = 0;
+	end_idx_ir = 0;
 	end_idx = sc->max_devices;
 	if (ioc_pg8_flags & MPI2_IOCPAGE8_FLAGS_RESERVED_TARGETID_0)
 		start_idx = 1;


More information about the svn-src-stable-8 mailing list