aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2015-12-01 10:19:38 -0800
committerDoug Ledford <[email protected]>2015-12-07 17:20:11 -0500
commit57b0be9c0fb0ba3a35683c6ce21db7162d6758c5 (patch)
treed0caf2ef59d4965133b244945afb1c81d135b1dc /net/lapb/lapb_iface.c
parenta745f4f410082fedc17be75e10e4098f300943db (diff)
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 <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Cc: stable <[email protected]> # v4.4+ Cc: Sagi Grimberg <[email protected]> Cc: Sebastian Parschauer <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions