Re: [PATCH v1 1/1] scsi: ufs: mcq: Fix the search/wrap around logic

From: Bart Van Assche
Date: Wed Aug 16 2023 - 19:46:31 EST


On 8/15/23 18:38, Bao D. Nguyen wrote:
The search and wrap around logic in the ufshcd_mcq_sqe_search()
function does not work correctly when the hwq's queue depth
is not a power of two number. Correct it so that any queue depth
with a positive integer value within the supported range would work.

Does this patch need a Fixes: tag?

Anyway:

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>