aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi/ibmvscsi.c
diff options
context:
space:
mode:
authorLinda Xie <lxiep@us.ibm.com>2005-06-27 18:01:48 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-07-02 20:25:09 -0400
commitb4687ca42cb82a7821f682dde0310b16ce284770 (patch)
treee36a26a2908369535d89863626934e269976d662 /drivers/scsi/ibmvscsi/ibmvscsi.c
parentfc2b035d38c06a884cb521bb4a1e1183f5eaccf1 (diff)
[SCSI] IBM VSCSI Client: sending client info to server
Fix the problem in IBM VSCSI Client where the client doesn't send the information which is expected by the server. Signed-off-by: Linda Xie <lxie@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvscsi.c')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvscsi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c
index d89b8eb3cdf3..fe09d145542a 100644
--- a/drivers/scsi/ibmvscsi/ibmvscsi.c
+++ b/drivers/scsi/ibmvscsi/ibmvscsi.c
@@ -87,7 +87,7 @@ static int max_channel = 3;
87static int init_timeout = 5; 87static int init_timeout = 5;
88static int max_requests = 50; 88static int max_requests = 50;
89 89
90#define IBMVSCSI_VERSION "1.5.5" 90#define IBMVSCSI_VERSION "1.5.6"
91 91
92MODULE_DESCRIPTION("IBM Virtual SCSI"); 92MODULE_DESCRIPTION("IBM Virtual SCSI");
93MODULE_AUTHOR("Dave Boutcher"); 93MODULE_AUTHOR("Dave Boutcher");
@@ -675,8 +675,6 @@ static void send_mad_adapter_info(struct ibmvscsi_host_data *hostdata)
675 struct viosrp_adapter_info *req; 675 struct viosrp_adapter_info *req;
676 struct srp_event_struct *evt_struct; 676 struct srp_event_struct *evt_struct;
677 677
678 memset(&hostdata->madapter_info, 0x00, sizeof(hostdata->madapter_info));
679
680 evt_struct = get_event_struct(&hostdata->pool); 678 evt_struct = get_event_struct(&hostdata->pool);
681 if (!evt_struct) { 679 if (!evt_struct) {
682 printk(KERN_ERR "ibmvscsi: couldn't allocate an event " 680 printk(KERN_ERR "ibmvscsi: couldn't allocate an event "