Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76899
b: refs/heads/master
c: 93f8fec
h: refs/heads/master
i:
  76897: 99fcbb4
  76895: 73be53a
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Jan 23, 2008
1 parent 81cf55b commit e8e1b4a
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 1973a023a616b40ba33fd0d38b1055c62c88e73d
refs/heads/master: 93f8fecbe72bc3c121f3605dd198ff39ef358522
4 changes: 3 additions & 1 deletion trunk/drivers/ata/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2341,7 +2341,9 @@ static void atapi_request_sense(struct ata_queued_cmd *qc)

ata_qc_reinit(qc);

ata_sg_init_one(qc, cmd->sense_buffer, sizeof(cmd->sense_buffer));
/* setup sg table and init transfer direction */
sg_init_one(&qc->sgent, cmd->sense_buffer, sizeof(cmd->sense_buffer));
ata_sg_init(qc, &qc->sgent, 1);
qc->dma_dir = DMA_FROM_DEVICE;

memset(&qc->cdb, 0, qc->dev->cdb_len);
Expand Down

0 comments on commit e8e1b4a

Please sign in to comment.