Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=33874a002d4fdd34e35e8265f9b2e0582385f744
Commit:     33874a002d4fdd34e35e8265f9b2e0582385f744
Parent:     24f02e1d819ad91de46ad3a636cd3f2bf11c720f
Author:     FUJITA Tomonori <[EMAIL PROTECTED]>
AuthorDate: Tue May 22 13:50:51 2007 +0900
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Mon Jun 25 13:26:14 2007 -0500

    [SCSI] ibmvscsi: fix timeout bugs
    
    The viosrp_crq timeout field is in seconds.
    
    Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
    Cc: Santiago Leon <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 drivers/scsi/ibmvscsi/ibmvscsi.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c
index f5da762..cb73faa 100644
--- a/drivers/scsi/ibmvscsi/ibmvscsi.c
+++ b/drivers/scsi/ibmvscsi/ibmvscsi.c
@@ -858,7 +858,7 @@ static void send_mad_adapter_info(struct ibmvscsi_host_data 
*hostdata)
        init_event_struct(evt_struct,
                          adapter_info_rsp,
                          VIOSRP_MAD_FORMAT,
-                         init_timeout * HZ);
+                         init_timeout);
        
        req = &evt_struct->iu.mad.adapter_info;
        memset(req, 0x00, sizeof(*req));
@@ -953,7 +953,7 @@ static int send_srp_login(struct ibmvscsi_host_data 
*hostdata)
        init_event_struct(evt_struct,
                          login_rsp,
                          VIOSRP_SRP_FORMAT,
-                         init_timeout * HZ);
+                         init_timeout);
 
        login = &evt_struct->iu.srp.login_req;
        memset(login, 0x00, sizeof(struct srp_login_req));
@@ -1031,7 +1031,7 @@ static int ibmvscsi_eh_abort_handler(struct scsi_cmnd 
*cmd)
        init_event_struct(evt,
                          sync_completion,
                          VIOSRP_SRP_FORMAT,
-                         init_timeout * HZ);
+                         init_timeout);
 
        tsk_mgmt = &evt->iu.srp.tsk_mgmt;
        
@@ -1140,7 +1140,7 @@ static int ibmvscsi_eh_device_reset_handler(struct 
scsi_cmnd *cmd)
        init_event_struct(evt,
                          sync_completion,
                          VIOSRP_SRP_FORMAT,
-                         init_timeout * HZ);
+                         init_timeout);
 
        tsk_mgmt = &evt->iu.srp.tsk_mgmt;
 
@@ -1373,7 +1373,7 @@ static int ibmvscsi_do_host_config(struct 
ibmvscsi_host_data *hostdata,
        init_event_struct(evt_struct,
                          sync_completion,
                          VIOSRP_MAD_FORMAT,
-                         init_timeout * HZ);
+                         init_timeout);
 
        host_config = &evt_struct->iu.mad.host_config;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to