Il 05/02/2014 13:39, Christoph Hellwig ha scritto:
+       pool = scsi_find_host_cmd_pool(shost);

Should you have a WARN_ON somewhere if shost->hostt->cmd_size && shost->unchecked_isa_dma?

Apart from this,

Reviewed-by: Paolo Bonzini <pbonz...@redhat.com>

Paolo

+       if (!pool) {
+               pool = scsi_alloc_host_cmd_pool(shost);
+               if (!pool)
+                       goto out;
+       }
+

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to