diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2024-03-25 23:51:18 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-03-25 23:51:18 +0300 |
commit | e831b92b37c6ce586b0beca27cf48b5df69f0d67 (patch) | |
tree | eaefac3ec847252168b29f7ad669be579ec7efad /include/ufs | |
parent | 4f378a7501b2a6cd886a1422fbd7e7fa12770598 (diff) | |
parent | 996a24b99d63df08caf89fc03f4783279424788f (diff) | |
download | linux-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.h | 2 |
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, |