[PATCH 1/1] Revert "scsi: ufs: Use pre-calculated offsets in ufshcd_init_lrb()"

Ed Tsai (蔡宗軒) Ed.Tsai at mediatek.com
Sun Apr 26 16:41:41 PDT 2026


On Fri, 2026-04-24 at 15:55 -0700, Bart Van Assche wrote:
> 
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> 
> 
> On 4/23/26 11:35 PM, ed.tsai at mediatek.com wrote:
> > Note that these DMA addresses are only used in ufshcd_print_tr()
> > for
> > error logging, so the impact is limited to misleading error logs.
> 
> Instead of fixing these offsets, please remove the ucd_rsp_dma_addr
> and
> ucd_prdt_dma_addr members from struct ufshcd_lrb.
> 
> Thanks,
> 
> Bart.

Sounds good, I will send a new patch. Thanks.


More information about the Linux-mediatek mailing list