summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2015-12-01 18:19:38 (GMT)
committerDoug Ledford <dledford@redhat.com>2015-12-07 22:20:11 (GMT)
commit57b0be9c0fb0ba3a35683c6ce21db7162d6758c5 (patch)
treed0caf2ef59d4965133b244945afb1c81d135b1dc /drivers/media
parenta745f4f410082fedc17be75e10e4098f300943db (diff)
downloadlinux-57b0be9c0fb0ba3a35683c6ce21db7162d6758c5.tar.xz
IB/srp: Fix srp_map_sg_fr()
After dma_map_sg() has been called the return value of that function must be used as the number of elements in the scatterlist instead of scsi_sg_count(). Fixes: commit f7f7aab1a5c0 ("IB/srp: Convert to new registration API") Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: stable <stable@vger.kernel.org> # v4.4+ Cc: Sagi Grimberg <sagig@mellanox.com> Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions