Fix uninitialized warning in mps

Reviewed by:	pjd (mentor)
Approved by:	pjd (mentor)
MFC after:	2 weeks
This commit is contained in:
smh 2013-05-03 10:37:59 +00:00
parent e7d3a7e303
commit bf0ecb6670

View File

@ -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;