scsi: bnx2fc: Stop using the SCSI pointer
[sfrench/cifs-2.6.git] / drivers / scsi / bnx2fc / bnx2fc_fcoe.c
index 05f5afc304d4d8e04d95447a30482bfa7e837b8f..d295867a9b46545103e7e668afb9b498fcb910d7 100644 (file)
@@ -2974,6 +2974,7 @@ static struct scsi_host_template bnx2fc_shost_template = {
        .track_queue_depth      = 1,
        .slave_configure        = bnx2fc_slave_configure,
        .shost_groups           = bnx2fc_host_groups,
+       .cmd_size               = sizeof(struct bnx2fc_priv),
 };
 
 static struct libfc_function_template bnx2fc_libfc_fcn_templ = {