[PATCH] nvme: fix controller instance leak

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Wed Aug 26 14:10:03 EDT 2020


On 8/26/20 11:01, Keith Busch wrote:
> If the driver has to unbind from the controller for an early failure
> before the subsystem has been set up, there won't be a subsystem holding
> the controller's instance, so the controller needs to free its own
> instance in this case.
> 
> Fixes: 733e4b69d508d ("nvme: Assign subsys instance from first ctrl")
> Signed-off-by: Keith Busch<kbusch at kernel.org>

Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>




More information about the Linux-nvme mailing list