Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334134
b: refs/heads/master
c: e187df6
h: refs/heads/master
v: v3
  • Loading branch information
adam radford authored and James Bottomley committed Oct 9, 2012
1 parent 7aee69f commit 292b8c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f9eff81584ce8727ac6d4dc418f546337781943b
refs/heads/master: e187df63991b1b50af0fd3cf8ceaf9aa77c20f4a
3 changes: 2 additions & 1 deletion trunk/drivers/scsi/megaraid/megaraid_sas_fusion.c
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,8 @@ megasas_build_dcdb_fusion(struct megasas_instance *instance,
local_map_ptr = fusion->ld_map[(instance->map_id & 1)];

/* Check if this is a system PD I/O */
if (instance->pd_list[pd_index].driveState == MR_PD_STATE_SYSTEM) {
if (scmd->device->channel < MEGASAS_MAX_PD_CHANNELS &&
instance->pd_list[pd_index].driveState == MR_PD_STATE_SYSTEM) {
io_request->Function = 0;
io_request->DevHandle =
local_map_ptr->raidMap.devHndlInfo[device_id].curDevHdl;
Expand Down

0 comments on commit 292b8c9

Please sign in to comment.