On Fri, 2012-12-14 at 16:34 +0100, Bart Van Assche wrote: > The connection state must be initialized before srp_connect_target() > is invoked. Drop the assignment in srp_add_target() since > scsi_host_alloc() zero-initializes the Scsi_Host structure anyway. > This patch makes ib_srp again report the first QP error.
This change log doesn't capture the actual reason for the change -- if it were really about the assignment being redundant with the zero-initialization, the patch would be a no-op. "Don't trash the connection state after srp_connect_target() has properly initialized it." or something like that. Acked-by: David Dillow <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
