aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2019-11-05 13:46:32 -0800
committerJason Gunthorpe <[email protected]>2019-11-13 15:50:41 -0400
commite88982ad1bb12db699de96fbc07096359ef6176c (patch)
treefb5beedb59c7fc3daba378ad078ee6a29b282df3 /lib/string_helpers.c
parent208d70f562e563226df178ff8f969364972e9e99 (diff)
RDMA/srpt: Report the SCSI residual to the initiator
The code added by this patch is similar to the code that already exists in ibmvscsis_determine_resid(). This patch has been tested by running the following command: strace sg_raw -r 1k /dev/sdb 12 00 00 00 60 00 -o inquiry.bin |& grep resid= Link: https://lore.kernel.org/r/[email protected] Fixes: a42d985bd5b2 ("ib_srpt: Initial SRP Target merge for v3.3-rc1") Signed-off-by: Bart Van Assche <[email protected]> Acked-by: Honggang Li <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions