Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53661
b: refs/heads/master
c: 20235f3
h: refs/heads/master
i:
  53659: 1b65477
v: v3
  • Loading branch information
Salyzyn, Mark authored and James Bottomley committed Mar 21, 2007
1 parent 958f77e commit 726f9eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 0272bf7271eb6895b081c3df34c3ebe50cb769b7
refs/heads/master: 20235f35221472f1a127a5d5414f11091eb0a845
5 changes: 3 additions & 2 deletions trunk/drivers/scsi/aacraid/aachba.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,9 @@ static void aac_internal_transfer(struct scsi_cmnd *scsicmd, void *data, unsigne
buf = scsicmd->request_buffer;
transfer_len = min(scsicmd->request_bufflen, len + offset);
}

memcpy(buf + offset, data, transfer_len - offset);
transfer_len -= offset;
if (buf && transfer_len)
memcpy(buf + offset, data, transfer_len);

if (scsicmd->use_sg)
kunmap_atomic(buf - sg->offset, KM_IRQ0);
Expand Down

0 comments on commit 726f9eb

Please sign in to comment.