arcmsr: fixes not release allocated resource
authorChing Huang <ching2048@areca.com.tw>
Wed, 25 Nov 2015 11:41:23 +0000 (19:41 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 30 Nov 2015 22:50:38 +0000 (17:50 -0500)
commit98f90debc2b64a40a416dd9794ac2d8de6b43af2
treec3e112edcae714cf1982c3169cf23872326bf7ce
parent251e2d25bfb72b69edd414abfa42a41191d9657a
arcmsr: fixes not release allocated resource

Releasing allocated resource if get configuration data failed.

Signed-off-by: Ching Huang <ching2048@areca.com.tw>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/arcmsr/arcmsr_hba.c