summaryrefslogtreecommitdiff
path: root/include/ufs
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2024-03-25 23:51:18 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2024-03-25 23:51:18 +0300
commite831b92b37c6ce586b0beca27cf48b5df69f0d67 (patch)
treeeaefac3ec847252168b29f7ad669be579ec7efad /include/ufs
parent4f378a7501b2a6cd886a1422fbd7e7fa12770598 (diff)
parent996a24b99d63df08caf89fc03f4783279424788f (diff)
downloadlinux-e831b92b37c6ce586b0beca27cf48b5df69f0d67.tar.xz
Merge patch series "Re-use device management code fragments"
Avri Altman <avri.altman@wdc.com> says: Device management commands are constructed for query commands that are being issued by the driver, but also for raw device management commands originated by the bsg module, and recently, by the advanced rpmb handler. Thus, the same code fragments, e.g. locking, composing the command, composing the upiu etc., appear over and over. Remove those duplications. Theoretically, there should be no functional change. Link: https://lore.kernel.org/r/20240309081104.5006-1-avri.altman@wdc.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,