Re: [PATCH v2 5/5] scsi: ufs: Allow UFS host drivers to override the sg entry size

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

 



On 7/19/22 04:15, Avri Altman wrote:
@@ -2778,11 +2779,11 @@ static void ufshcd_init_lrb(struct ufs_hba *hba,
struct ufshcd_lrb *lrb, int i)
         lrb->utr_descriptor_ptr = utrdlp + i;
         lrb->utrd_dma_addr = hba->utrdl_dma_addr +
                 i * sizeof(struct utp_transfer_req_desc);
-       lrb->ucd_req_ptr = (struct utp_upiu_req *)(cmd_descp + i);
+       lrb->ucd_req_ptr = (struct utp_upiu_req *)cmd_descp;
>
Maybe here cmd_descp->command_upiu ?

I like that idea. I will make this change.

Thanks,

Bart.



[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