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>