summaryrefslogtreecommitdiff
path: root/include/ufs
diff options
context:
space:
mode:
authorAvri Altman <avri.altman@wdc.com>2023-05-31 10:00:09 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-05-31 11:49:28 -0400
commit23caa33d36e7e6f75597b333634d9e54fb40001b (patch)
tree270b7af39098bf075ce19c1870ef685864bb1af3 /include/ufs
parent2ef23e4b537be3b417080bdade7ef48cf9f95266 (diff)
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.h2
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