diff options
author | Avri Altman <avri.altman@wdc.com> | 2023-05-31 09:00:09 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-05-31 17:49:28 +0200 |
commit | 23caa33d36e7e6f75597b333634d9e54fb40001b (patch) | |
tree | 270b7af39098bf075ce19c1870ef685864bb1af3 /include/ufs | |
parent | Merge patch series "ufs: Do not requeue while ungating the clock" (diff) | |
download | linux-23caa33d36e7e6f75597b333634d9e54fb40001b.tar.xz linux-23caa33d36e7e6f75597b333634d9e54fb40001b.zip |
scsi: ufs: core: Do not open code SZ_x
Do not open code SZ_x.
Signed-off-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20230531070009.4593-1-avri.altman@wdc.com
Reviewed-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Keoseong Park <keosung.park@samsung.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 11424bb03814..db2d5db5c88e 100644 --- a/include/ufs/ufshci.h +++ b/include/ufs/ufshci.h @@ -453,7 +453,7 @@ enum { }; /* The maximum length of the data byte count field in the PRDT is 256KB */ -#define PRDT_DATA_BYTE_COUNT_MAX (256 * 1024) +#define PRDT_DATA_BYTE_COUNT_MAX SZ_256K /* The granularity of the data byte count field in the PRDT is 32-bit */ #define PRDT_DATA_BYTE_COUNT_PAD 4 |