Re: [PATCH v3 04/17] ufs: core: Defer adding host to scsi if mcq is supported

From: Bart Van Assche
Date: Thu Oct 27 2022 - 17:18:31 EST


On 10/20/22 11:03, Asutosh Das wrote:
If MCQ support is present, then enabling it would need
reallocating tags and memory. It would also free up the
already allocated memory in Single Doorbell Mode.
So defer invoking scsi_add_host() until MCQ is configured.

The above probably should be modified to improve clarity. How about changing "then enabling it would need" into "enabling it after MCQ support has been configured would require"? Otherwise this patch looks good to me.

Thanks,

Bart.