diff options
author | smh <smh@FreeBSD.org> | 2013-05-03 10:37:59 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2013-05-03 10:37:59 +0000 |
commit | bf0ecb667034d07b6288c04623d895a0919377c0 (patch) | |
tree | 3114c6884fa5a73089e578d577a08dbfb3629be4 /sys/dev/mps | |
parent | e7d3a7e30391069104e12b19b90ea9f88e953498 (diff) | |
download | FreeBSD-src-bf0ecb667034d07b6288c04623d895a0919377c0.zip FreeBSD-src-bf0ecb667034d07b6288c04623d895a0919377c0.tar.gz |
Fix uninitialized warning in mps
Reviewed by: pjd (mentor)
Approved by: pjd (mentor)
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/mps')
-rw-r--r-- | sys/dev/mps/mps_mapping.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/mps/mps_mapping.c b/sys/dev/mps/mps_mapping.c index 870535e..585d54a 100644 --- a/sys/dev/mps/mps_mapping.c +++ b/sys/dev/mps/mps_mapping.c @@ -331,6 +331,8 @@ _mapping_get_high_missing_mt_idx(struct mps_softc *sc) 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; |