[SCSI] fix scsi_device_types overrun in scsi.c
this overrun was spotted by coverity (cid #1403). If type == ARRAY_SIZE(scsi_device_types), we are off by one. Signed-off-by: NEric Sesterhenn <snakebyte@gmx.de> Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
Showing
想要评论请 注册 或 登录