]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] ps3rom: use sg buffer copy helper funcitons
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sun, 9 Mar 2008 04:44:31 +0000 (13:44 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:15:45 +0000 (12:15 -0500)
commite6efedc4a541a3daac733525542a6294634fc6ce
tree4f79474f111c3aa8451e3328f5c5586a63fdbbfb
parente635360152402fc2baa5765a61eab7ba3594e71b
[SCSI] ps3rom: use sg buffer copy helper funcitons

Note that if scsi_bufflen(cmd) is not zero, the command always has an
sg list. So this patch doesn't do the error checking in
fill_from_dev_buffer and fetch_to_dev_buffer did.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Looks-OK-to: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ps3rom.c