OSDN Git Service

arcmsr: call scsi_scan_host at the end of host initialization
authorChing Huang <ching2048@areca.com.tw>
Tue, 19 Aug 2014 07:28:36 +0000 (15:28 +0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:40:11 +0000 (09:40 -0700)
commitb4eb6ae9075a958ffe24620f985f6bd729a1b138
tree6bd58c4637390eb83e93200cb20b8c4b156c3bd3
parent5b37479adee7164b17b6e2030b9a30d04583eb61
arcmsr: call scsi_scan_host at the end of host initialization

Call scsi_scan_host at the end of host initialization and fix and error path
to free allocated resource.

Signed-off-by: Ching Huang <ching2048@areca.com.tw>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/arcmsr/arcmsr_hba.c