diff options
author | Keith Busch <keith.busch@intel.com> | 2018-11-26 16:39:47 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-11-27 08:35:15 +0100 |
commit | d6a2b9535d1e52bea269c138614c4801469d10e1 (patch) | |
tree | 79c017288b71557b533a607da61142f0107c99cb /drivers/nvme/host/fc.c | |
parent | 14b04063cc994effc86f976625bf8f806d8d44cb (diff) | |
download | lwn-d6a2b9535d1e52bea269c138614c4801469d10e1.tar.gz lwn-d6a2b9535d1e52bea269c138614c4801469d10e1.zip |
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: d22524a4782a9 ("nvme: switch controller refcounting to use struct device")
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/fc.c')
0 files changed, 0 insertions, 0 deletions