goto fail_shost_put;
fw_device_get(device);
+ get_device(&unit->device);
/* Initialize to values that won't match anything in our table. */
firmware_revision = 0xff000000;
sbp2_init_workarounds(tgt, model, firmware_revision);
- get_device(&unit->device);
-
/* Do the login in a workqueue so we can easily reschedule retries. */
list_for_each_entry(lu, &tgt->lu_list, link)
sbp2_queue_work(lu, 0);