Commit 9f22f908 authored by Arthur Simchaev's avatar Arthur Simchaev Committed by Bart Van Assche
Browse files

FROMGIT: scsi: ufs: core: Remove redundant desc_size variable from hba



Always read the descriptor with QUERY_DESC_MAX_SIZE.  According to the
spec, the device returns the actual size.

Change-Id: I29053a66d1f65f674fba6d7e1a6c6e7f546eec74
Signed-off-by: default avatarArthur Simchaev <Arthur.Simchaev@wdc.com>
Reviewed-by: default avatarBean Huo <beanhuo@micron.com>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Bug: 258234315
(cherry picked from commit f2a89b07 git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git

 for-next)
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent a79e70f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment