diff options
author | James Bottomley <James.Bottomley@suse.de> | 2010-03-12 16:14:42 -0600 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 12:03:48 -0500 |
commit | a91c1be21704113b023919826c6d531da46656ef (patch) | |
tree | 5ac2396f83dcfbf8596d5f5cfa11d4cd5f6cc118 /drivers/scsi/arcmsr | |
parent | aac3118d33e275a7b1134cb19227c982f4d43877 (diff) | |
download | linux-stable-a91c1be21704113b023919826c6d531da46656ef.tar.gz linux-stable-a91c1be21704113b023919826c6d531da46656ef.tar.bz2 linux-stable-a91c1be21704113b023919826c6d531da46656ef.zip |
[SCSI] enclosure: fix error path - actually return ERR_PTR() on error
we also need to clean up and free the cdev.
Reported-by: Jani Nikula <ext-jani.1.nikula@nokia.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/arcmsr')
0 files changed, 0 insertions, 0 deletions