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

Bart Van Assche bvanassche at acm.org
Fri Apr 24 15:55:54 PDT 2026


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.



More information about the Linux-mediatek mailing list