[SCSI] qla2xxx: Correct truncation in return-code status checking.
[deliverable/linux.git] / drivers / scsi / qla2xxx / qla_init.c
index e54ab2f1079508f90577a85003d7ef5c30f6280b..87f9abc714604b9927b019ebb67f71cf11f01c5a 100644 (file)
@@ -3435,7 +3435,7 @@ qla2x00_abort_isp(scsi_qla_host_t *vha)
 static int
 qla2x00_restart_isp(scsi_qla_host_t *vha)
 {
-       uint8_t         status = 0;
+       int status = 0;
        uint32_t wait_time;
        struct qla_hw_data *ha = vha->hw;
        struct req_que *req = ha->req_q_map[0];
This page took 0.02555 seconds and 5 git commands to generate.