]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
scsi: ufs: mcq: Use pointer arithmetic in ufshcd_send_command()
authorAvri Altman <avri.altman@wdc.com>
Wed, 29 Mar 2023 10:13:03 +0000 (13:13 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Apr 2023 01:46:59 +0000 (21:46 -0400)
commit3c85f087faeca3ca9ec9e7b085e1eff370e3f0db
tree1d6948cff562279fa4d493db1249bd119fe8f95d
parent4de243c40c0f6c701123eb12938a5d9caee08679
scsi: ufs: mcq: Use pointer arithmetic in ufshcd_send_command()

Make sqe_base_addr the UTRD pointer it is, instead of an opaque void *.

Signed-off-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20230329101303.18377-3-avri.altman@wdc.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c
include/ufs/ufshcd.h