Loading
scsi: ufs: fix a bug where accessing an array in invalid index
Add range check on tag statistics array index to avoid a potential
situation where the array index is out-of-bounds in case
TS_NOT_SUPPORTED is returned as the index.
Change-Id: Ib35fd0abe9553f6ea259efd2f98c7a4ef490d6ed
Signed-off-by:
Yaniv Gardi <ygardi@codeaurora.org>