Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72949
b: refs/heads/master
c: 01c0ad5
h: refs/heads/master
i:
  72947: 78353ac
v: v3
  • Loading branch information
Russell King authored and Russell King committed Oct 31, 2007
1 parent 2225c36 commit 59b4b9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: b23e79fd87529706eb8e9e350226465b4abe70d2
refs/heads/master: 01c0ad58548fa1fa76379d1bea060f6e1d6ba2af
8 changes: 2 additions & 6 deletions trunk/drivers/scsi/arm/scsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ static inline int next_SCp(struct scsi_pointer *SCp)
if (ret) {
SCp->buffer++;
SCp->buffers_residual--;
SCp->ptr = (char *)
(page_address(SCp->buffer->page) +
SCp->buffer->offset);
SCp->ptr = sg_virt(SCp->buffer);
SCp->this_residual = SCp->buffer->length;
} else {
SCp->ptr = NULL;
Expand Down Expand Up @@ -76,9 +74,7 @@ static inline void init_SCp(struct scsi_cmnd *SCpnt)

SCpnt->SCp.buffer = (struct scatterlist *) SCpnt->request_buffer;
SCpnt->SCp.buffers_residual = SCpnt->use_sg - 1;
SCpnt->SCp.ptr = (char *)
(page_address(SCpnt->SCp.buffer->page) +
SCpnt->SCp.buffer->offset);
SCpnt->SCp.ptr = sg_virt(SCpnt->SCp.buffer);
SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length;
SCpnt->SCp.phase = SCpnt->request_bufflen;

Expand Down

0 comments on commit 59b4b9d

Please sign in to comment.