/* zfcp_qdio_allocate - allocate queue memory and initialize QDIO data @adapter: pointer to struct zfcp_adapter Returns: -ENOMEM on memory allocation error or return value from qdio_allocate  */
static int zfcp_qdio_allocate(struct zfcp_qdio *qdio)
/* zfcp_qdio_allocate - allocate queue memory and initialize QDIO data @adapter: pointer to struct zfcp_adapter Returns: -ENOMEM on memory allocation error or return value from qdio_allocate  */
static int zfcp_qdio_allocate(struct zfcp_qdio *qdio)
{
	struct qdio_initialize init_data;
	if (zfcp_qdio_buffers_enqueue(qdio->req_q.sbal) ||
	    zfcp_qdio_buffers_enqueue(qdio->resp_q.sbal))
		return -ENOMEM;
	zfcp_qdio_setup_init_data(&init_data, qdio);
	return qdio_allocate(&init_data);
}