Skip to content
Commit d6a2b953 authored by Keith Busch's avatar Keith Busch Committed by Christoph Hellwig
Browse files

nvme: Free ctrl device name on init failure



Free the kobject name that was allocated for the controller device on
failure rather than its parent.

Fixes: d22524a4 ("nvme: switch controller refcounting to use struct device")
Signed-off-by: default avatarKeith Busch <keith.busch@intel.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 14b04063
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment