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?
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?