Skip to content
Snippets Groups Projects
Commit a91c1be2 authored by James Bottomley's avatar James Bottomley
Browse files

[SCSI] enclosure: fix error path - actually return ERR_PTR() on error


we also need to clean up and free the cdev.

Reported-by: default avatarJani Nikula <ext-jani.1.nikula@nokia.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent aac3118d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment