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.