mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00:00
2471ec5895
Inside the array we check ms_start_idx[seg_no + 1] so on the last round through we end up going past the end of the array. Also if we don't break out of the loop early then we are beyond the end of the array there as well. With this change, if we don't find what we are looking for, we end on the last element of the array. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
debug.h | ||
Kconfig | ||
Makefile | ||
ms_mg.c | ||
ms_mg.h | ||
ms.c | ||
ms.h | ||
rts51x_card.c | ||
rts51x_card.h | ||
rts51x_chip.c | ||
rts51x_chip.h | ||
rts51x_fop.c | ||
rts51x_fop.h | ||
rts51x_scsi.c | ||
rts51x_scsi.h | ||
rts51x_sys.h | ||
rts51x_transport.c | ||
rts51x_transport.h | ||
rts51x.c | ||
rts51x.h | ||
sd_cprm.c | ||
sd_cprm.h | ||
sd.c | ||
sd.h | ||
TODO | ||
trace.h | ||
xd.c | ||
xd.h |