On Thu, Jun 01, 2023 at 10:37:13PM -0700, Chaitanya Kulkarni wrote: > host = nvmf_host_alloc(hostnqn, id); > - if (!host) > - return ERR_PTR(-ENOMEM); > + if (!host) { > + host = ERR_PTR(-ENOMEM); > + goto out_unlock; > + } Looks good: Reviewed-by: Christoph Hellwig <hch at lst.de>