aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/arcmsr/arcmsr_hba.c4
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_base.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c
index c8dc392edd57..05a78e515a24 100644
--- a/drivers/scsi/arcmsr/arcmsr_hba.c
+++ b/drivers/scsi/arcmsr/arcmsr_hba.c
@@ -878,8 +878,8 @@ static void arcmsr_report_ccb_state(struct AdapterControlBlock *acb,
878 if (!error) { 878 if (!error) {
879 if (acb->devstate[id][lun] == ARECA_RAID_GONE) 879 if (acb->devstate[id][lun] == ARECA_RAID_GONE)
880 acb->devstate[id][lun] = ARECA_RAID_GOOD; 880 acb->devstate[id][lun] = ARECA_RAID_GOOD;
881 ccb->pcmd->result = DID_OK << 16; 881 ccb->pcmd->result = DID_OK << 16;
882 arcmsr_ccb_complete(ccb); 882 arcmsr_ccb_complete(ccb);
883 }else{ 883 }else{
884 switch (ccb->arcmsr_cdb.DeviceStatus) { 884 switch (ccb->arcmsr_cdb.DeviceStatus) {
885 case ARCMSR_DEV_SELECT_TIMEOUT: { 885 case ARCMSR_DEV_SELECT_TIMEOUT: {
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c
index 57bcd5c9dcff..12faf64f91b0 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.c
@@ -534,7 +534,7 @@ _base_display_event_data(struct MPT2SAS_ADAPTER *ioc,
534 if (event_data->DiscoveryStatus) 534 if (event_data->DiscoveryStatus)
535 printk("discovery_status(0x%08x)", 535 printk("discovery_status(0x%08x)",
536 le32_to_cpu(event_data->DiscoveryStatus)); 536 le32_to_cpu(event_data->DiscoveryStatus));
537 printk("\n"); 537 printk("\n");
538 return; 538 return;
539 } 539 }
540 case MPI2_EVENT_SAS_BROADCAST_PRIMITIVE: 540 case MPI2_EVENT_SAS_BROADCAST_PRIMITIVE: