ufs: fix typo: MAZ to MAX
PATCH 1/2 ufs: fix typo: MAZ to MAX
QUERY_DESC_GEOMETRY_MAZ_SIZEQUERY_DESC_GEOMETRY_MAX_SIZE
Signed-off-by Tomas Winkler <[email protected]>
--- drivers/scsi/ufs/ufs.h | 2 +- drivers/scsi/ufs/ufshcd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/ufs/ufs.h +1 -1
@@ -170,7 +170,7 @@ enum ufs_desc_max_size {* of descriptor header. */ QUERY_DESC_STRING_MAX_SIZE =0xFE , -QUERY_DESC_GEOMETRY_MAZ_SIZE =0x44 , +QUERY_DESC_GEOMETRY_MAX_SIZE =0x44 ,QUERY_DESC_POWER_MAX_SIZE =0x62 , QUERY_DESC_RFU_MAX_SIZE = 0x00, };
drivers/scsi/ufs/ufshcd.c +1 -1
@@ -92,7 +92,7 @@ static u32 ufs_query_desc_max_size[] = {QUERY_DESC_INTERCONNECT_MAX_SIZE ,QUERY_DESC_STRING_MAX_SIZE ,QUERY_DESC_RFU_MAX_SIZE , -QUERY_DESC_GEOMETRY_MAZ_SIZE , +QUERY_DESC_GEOMETRY_MAX_SIZE ,QUERY_DESC_POWER_MAX_SIZE , QUERY_DESC_RFU_MAX_SIZE, };
Signature · 1 line
2.4.3
PATCH 2/2 scsi: ufs: fix few typos in the comments
Signed-off-by Tomas Winkler <[email protected]>
--- drivers/scsi/ufs/ufshcd.c | 4 ++-- drivers/scsi/ufs/ufshcd.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/ufs/ufshcd.c +2 -2
@@ -1476,7 +1476,7 @@ static int ufshcd_wait_for_dev_cmd(struct ufs_hba *hba,if (!time_left) { err = -ETIMEDOUT ;if (!ufshcd_clear_cmd (hba, lrbp->task_tag)) -/* sucessfully cleared the command, retry if needed */ +/* successfully cleared the command, retry if needed */ err = -EAGAIN ; }
@@ -2563,7 +2563,7 @@ out:* To bring UFS host controller to operational state, * 1. Enable required interrupts * 2. Configure interrupt aggregation -* 3. Program UTRL and UTMRL base addres +* 3. Program UTRL and UTMRL base address * 4. Configure run-stop-registers * * Returns 0 on success, non-zero value on failure
drivers/scsi/ufs/ufshcd.h +1 -1
@@ -177,7 +177,7 @@ struct ufshcd_lrb { };/** -* struct ufs_query - holds relevent data structures for query request +* struct ufs_query - holds relevant data structures for query request * @request: request upiu and function * @descriptor: buffer for sending/receiving descriptor * @response: response upiu and response
Signature · 1 line
2.4.3
Martin K. Petersen
AppliedQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Tomas" == Tomas Winkler <[email protected]> writes:
Tomas> QUERY_DESC_GEOMETRY_MAZ_SIZE QUERY_DESC_GEOMETRY_MAX_SIZE
Applied to 4.6/scsi-queue.
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering