[openib-general] [PATCH] IB/iser remove usage of ISCSI_VERSION_STR
    Or Gerlitz 
    ogerlitz at voltaire.com
       
    Wed May 24 07:14:58 PDT 2006
    
    
  
Concatenate iSER's DRV_VER instead of ISCSI_VERSION_STR to the name field of
the scsi host template.
Signed-off-by: Or Gerlitz <ogerlitz at voltaire.com>
--- b/drivers/infiniband/ulp/iser/iscsi_iser.c	2006-05-24 16:41:56.936748675 +0300
+++ linux-2.6.16/drivers/infiniband/ulp/iser/iscsi_iser.c	2006-05-24 16:38:07.011802445 +0300
@@ -679,8 +679,7 @@ iscsi_iser_ep_disconnect(__u64 ep_handle
 }
 
 static struct scsi_host_template iscsi_iser_sht = {
-	.name                   = "iSCSI Initiator over iSER, v."
-				  ISCSI_VERSION_STR,
+	.name                   = "iSCSI Initiator over iSER, v." DRV_VER,
 	.queuecommand           = iscsi_queuecommand,
 	.can_queue		= ISCSI_XMIT_CMDS_MAX - 1,
 	.sg_tablesize           = ISCSI_ISER_SG_TABLESIZE,
    
    
More information about the general
mailing list