{
unsigned long flags;
- dev_dbg(&isci_device->isci_port->isci_host->pdev->dev,
- "%s: isci_device = %p, state = 0x%x",
- __func__,
- isci_device,
- status);
-
spin_lock_irqsave(&isci_device->state_lock, flags);
isci_device->status = status;
spin_unlock_irqrestore(&isci_device->state_lock, flags);
/* initialize the request object. */
spin_lock_init(&request->state_lock);
- isci_request_change_state(request, allocated);
request->sci_request_mem_ptr = ((u8 *)request) +
sizeof(struct isci_request);
request->request_daddr = handle;
INIT_LIST_HEAD(&request->dev_node);
*isci_request = request;
+ isci_request_change_state(request, allocated);
return ret;
}
for (i = 0; i < 8; i++)
dev_dbg(&request->isci_host->pdev->dev,
- "%s: request->task->ssp_task.LUN[%d] = %x\n",
- __func__, i, request->task->ssp_task.LUN[i]);
+ "%s: task->ssp_task.LUN[%d] = %x\n",
+ __func__, i, task->ssp_task.LUN[i]);
#endif