summaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-03-09 04:44:29 (GMT)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 17:15:45 (GMT)
commit9ac16b616ab117dab3fce9790368d3b58ca441ef (patch)
tree2da372ba43875040a2fca67217372569f0a97ff3 /drivers/scsi
parentb1adaf65ba0398c9a1adc8f3a274533165a4df61 (diff)
downloadlinux-9ac16b616ab117dab3fce9790368d3b58ca441ef.tar.xz
[SCSI] scsi: add wrapper functions for sg buffer copy helper functions
LLDs need to copies data between the SG table in struct scsi_cmnd and liner buffer. So they use the helper functions like sg_copy_from_buffer(scsi_sglist(sc), scsi_sg_count(sc), buf, buflen) sg_copy_to_buffer(scsi_sglist(sc), scsi_sg_count(sc), buf, buflen) This patch just adds wrapper functions: scsi_sg_copy_from_buffer(sc, buf, buflen) scsi_sg_copy_to_buffer(sc, buf, buflen) Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions