On Tue, Nov 05, 2019 at 01:46:32PM -0800, Bart Van Assche wrote: > 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= > > Cc: Honggang LI <honli@xxxxxxxxxx> > Cc: Laurence Oberman <loberman@xxxxxxxxxx> > Fixes: a42d985bd5b2 ("ib_srpt: Initial SRP Target merge for v3.3-rc1") > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> > Acked-by: Honggang Li <honli@xxxxxxxxxx> > --- > drivers/infiniband/ulp/srpt/ib_srpt.c | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) Applied to for-next, thanks Jason