summaryrefslogtreecommitdiffstats
path: root/include/ufs
diff options
context:
space:
mode:
authorAvri Altman <avri.altman@wdc.com>2024-03-09 09:11:02 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2024-03-25 21:50:22 +0100
commit996a24b99d63df08caf89fc03f4783279424788f (patch)
treebd614830c000eb9f86e6698346a248e961390c94 /include/ufs
parentscsi: ufs: Reuse compose_dev_cmd (diff)
downloadlinux-996a24b99d63df08caf89fc03f4783279424788f.tar.xz
linux-996a24b99d63df08caf89fc03f4783279424788f.zip
scsi: ufs: Reuse compose_devman_upiu
Move some code fragments into ufshcd_prepare_req_desc_hdr() so it can be used throughout. Signed-off-by: Avri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/20240309081104.5006-5-avri.altman@wdc.com Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/ufs')
-rw-r--r--include/ufs/ufshci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ufs/ufshci.h b/include/ufs/ufshci.h
index a196e1c4c3bb..88193f5540e5 100644
--- a/include/ufs/ufshci.h
+++ b/include/ufs/ufshci.h
@@ -426,7 +426,7 @@ union ufs_crypto_cfg_entry {
*/
/* Transfer request command type */
-enum {
+enum utp_cmd_type {
UTP_CMD_TYPE_SCSI = 0x0,
UTP_CMD_TYPE_UFS = 0x1,
UTP_CMD_TYPE_DEV_MANAGE = 0x2,