svn commit: r251414 - stable/9/sys/dev/mps

Steven Hartland smh at FreeBSD.org
Wed Jun 5 11:39:22 UTC 2013


Author: smh
Date: Wed Jun  5 11:39:22 2013
New Revision: 251414
URL: http://svnweb.freebsd.org/changeset/base/251414

Log:
  MFC r250206:
  Fix uninitialized warning in mps

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

Modified: stable/9/sys/dev/mps/mps_mapping.c
==============================================================================
--- stable/9/sys/dev/mps/mps_mapping.c	Wed Jun  5 11:37:00 2013	(r251413)
+++ stable/9/sys/dev/mps/mps_mapping.c	Wed Jun  5 11:39:22 2013	(r251414)
@@ -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-9 mailing list