Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=75edf81d337ea84a291f0fdae2777cfd07045eca
Commit:     75edf81d337ea84a291f0fdae2777cfd07045eca
Parent:     a7b6184225d747e5ae0bee30a388e6ebb70d5b8e
Author:     Andrew Vasquez <[EMAIL PROTECTED]>
AuthorDate: Mon May 7 07:43:00 2007 -0700
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:21:07 2007 -0500

    [SCSI] qla2xxx: Attempt to stop firmware only if it had been previously 
executed.
    
    Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 drivers/scsi/qla2xxx/qla_init.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 3e296ab..6ad1588 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -3931,6 +3931,8 @@ qla2x00_try_to_stop_firmware(scsi_qla_host_t *ha)
 
        if (!IS_QLA24XX(ha) && !IS_QLA54XX(ha))
                return;
+       if (!ha->fw_major_version)
+               return;
 
        ret = qla2x00_stop_firmware(ha);
        for (retries = 5; ret != QLA_SUCCESS && retries ; retries--) {
-
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