1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Fix uninitialized warning in mps

Reviewed by:	pjd (mentor)
Approved by:	pjd (mentor)
MFC after:	2 weeks
This commit is contained in:
Steven Hartland 2013-05-03 10:37:59 +00:00
parent 6a4dd49e2c
commit 5d0b98f2c3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250206

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;