Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment