Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375407
b: refs/heads/master
c: 378c538
h: refs/heads/master
i:
  375405: f014441
  375403: 0f7fcee
  375399: c6193c5
  375391: 90e35d5
v: v3
  • Loading branch information
Armen Baloyan authored and James Bottomley committed May 2, 2013
1 parent 3d3882f commit 71b81cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: b90ebc3d5c41c9164ae04efd2e4f8204c2a186f1
refs/heads/master: 378c538d257223b04faffd2755b76c985b1e1832
6 changes: 2 additions & 4 deletions trunk/drivers/scsi/qla2xxx/qla_mr.c
Original file line number Diff line number Diff line change
Expand Up @@ -3003,12 +3003,10 @@ qlafx00_build_scsi_iocbs(srb_t *sp, struct cmd_type_7_fx00 *cmd_pkt,

/* Set transfer direction */
if (cmd->sc_data_direction == DMA_TO_DEVICE) {
lcmd_pkt->cntrl_flags =
__constant_cpu_to_le16(TMF_WRITE_DATA);
lcmd_pkt->cntrl_flags = TMF_WRITE_DATA;
vha->qla_stats.output_bytes += scsi_bufflen(cmd);
} else if (cmd->sc_data_direction == DMA_FROM_DEVICE) {
lcmd_pkt->cntrl_flags =
__constant_cpu_to_le16(TMF_READ_DATA);
lcmd_pkt->cntrl_flags = TMF_READ_DATA;
vha->qla_stats.input_bytes += scsi_bufflen(cmd);
}

Expand Down

0 comments on commit 71b81cb

Please sign in to comment.