RE: [PATCH] scsi: ufs: mcq: Limit the amount of inflight requests

From: Avri Altman
Date: Thu Mar 30 2023 - 14:29:02 EST



> On 30.03.23 15:11, Avri Altman wrote:
> > + if (WARN_ONCE(hba->nutrs * hba->nr_hw_queues > (1 << 16) - 1,
> > + "there can be at most 1<<16 inflight requests\n"))
> > + goto err;
>
> Hmm why not SZ_64K - 1?
But of course.

Thanks,
Avri