From: FUJITA Tomonori Date: Sun, 9 Mar 2008 04:44:29 +0000 (+0900) Subject: [SCSI] scsi: add wrapper functions for sg buffer copy helper functions X-Git-Tag: v2.6.26-rc1~1140^2~111 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ac16b616ab117dab3fce9790368d3b58ca441ef;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed