summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dc395x.h
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2013-09-18 14:27:25 +0200
committerJames Bottomley <JBottomley@Parallels.com>2013-10-25 10:58:11 +0200
commitbb8c063c6afcd930b8da944927144f2982609638 (patch)
tree2c056f02c74ac1965bd61b4d132c642782b4d7c5 /drivers/scsi/dc395x.h
parent[SCSI] scsi_debug: fix buffer overrun when DIF/DIX is enabled and virtual_gb > 0 (diff)
downloadlinux-bb8c063c6afcd930b8da944927144f2982609638.tar.xz
linux-bb8c063c6afcd930b8da944927144f2982609638.zip
[SCSI] scsi_debug: factor out copying PI from dif_storep to prot_sglist
If data integrity support is enabled, prot_verify_read() is called in response to READ commands and it verifies protection info from dif_storep by comparing against fake_storep, and copies protection info to prot_sglist. This factors out the portion of copying protection info into a separate function. It will also be reused in the next change after supporting the opposite direction (copying prot_sglist to dif_storep). Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Acked-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/dc395x.h')
0 files changed, 0 insertions, 0 deletions