diff options
author | James Bottomley <James.Bottomley@suse.de> | 2010-03-12 16:14:42 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 11:09:21 -0700 |
commit | efe5d7f1ad582cafc68624f39ba720e12bcddb20 (patch) | |
tree | e872378525c84c4e968c429b24edbb615577a74c /include/asm-generic | |
parent | 5232dfac1ac008b5a4df815a5256776913dfa025 (diff) |
SCSI: enclosure: fix error path - actually return ERR_PTR() on error
commit a91c1be21704113b023919826c6d531da46656ef upstream.
we also need to clean up and free the cdev.
Reported-by: Jani Nikula <ext-jani.1.nikula@nokia.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions