summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_iblock.c
diff options
context:
space:
mode:
authorMike Marciniszyn2014-04-07 19:58:35 +0200
committerNicholas Bellinger2014-04-12 00:31:20 +0200
commitb076808051f2c80d38e03fb2f1294f525c7a446d (patch)
treea3c4e85a78642f1bbb7632cee0c01c62dc8b83e9 /drivers/target/target_core_iblock.c
parenttarget/tcm_fc: Rename ft_tport_create to ft_tport_get (diff)
downloadkernel-qcow2-linux-b076808051f2c80d38e03fb2f1294f525c7a446d.tar.gz
kernel-qcow2-linux-b076808051f2c80d38e03fb2f1294f525c7a446d.tar.xz
kernel-qcow2-linux-b076808051f2c80d38e03fb2f1294f525c7a446d.zip
ib_srpt: Use correct ib_sg_dma primitives
The code was incorrectly using sg_dma_address() and sg_dma_len() instead of ib_sg_dma_address() and ib_sg_dma_len(). This prevents srpt from functioning with the Intel HCA and indeed will corrupt memory badly. Cc: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Tested-by: Vinod Kumar <vinod.kumar@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Cc: stable@vger.kernel.org # 3.3+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_iblock.c')
0 files changed, 0 insertions, 0 deletions