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

From: Johannes Thumshirn
Date: Thu Mar 30 2023 - 10:07:06 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?