From: Martin K. Petersen Date: Fri, 30 Dec 2022 21:48:47 +0000 (+0000) Subject: Merge patch series "scsi: ufs: core: Always read the descriptors with max length" X-Git-Tag: v6.3-rc1~144^2~43 X-Git-Url: https://repo.jachan.dev/linux.git/commitdiff_plain/2d95c6deb64dfb1496bd202aaffdbdb4b420a196 Merge patch series "scsi: ufs: core: Always read the descriptors with max length" Arthur Simchaev says: Read any descriptor with a maximum size of QUERY_DESC_MAX_SIZE. According to the spec the device returns the actual size. Thus can improve code readability and save CPU cycles. While at it, clean up few leftovers around the descriptor size parameter. Link: https://lore.kernel.org/r/1670763911-8695-1-git-send-email-Arthur.Simchaev@wdc.com Signed-off-by: Martin K. Petersen --- 2d95c6deb64dfb1496bd202aaffdbdb4b420a196