Re: [PATCH] sd_zbc: Remove an assignment from sd_zbc_setup_report_cmnd()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bart,

> Since nr_bytes == blk_rq_bytes(rq) == rq->__data_len, the
> rq->__data_len = nr_bytes assignment does not modify the value of
> rq->__data_len. Hence remove that assignment. Note: the code in
> sd_done() that sets the residual to zero for zone report requests
> is not affected by this patch.

Applied to 4.19/scsi-queue, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux