2022-10-19 03:52:50

by Keoseong Park

[permalink] [raw]
Subject: [PATCH] scsi: ufs: core: Fix typo in comments

Change "drity" to "dirty".

Signed-off-by: Keoseong Park <[email protected]>
---
drivers/ufs/core/ufshpb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ufs/core/ufshpb.c b/drivers/ufs/core/ufshpb.c
index 3d69a81c5b17..14748f2c337b 100644
--- a/drivers/ufs/core/ufshpb.c
+++ b/drivers/ufs/core/ufshpb.c
@@ -383,7 +383,7 @@ int ufshpb_prep(struct ufs_hba *hba, struct ufshcd_lrb *lrbp)
rgn = hpb->rgn_tbl + rgn_idx;
srgn = rgn->srgn_tbl + srgn_idx;

- /* If command type is WRITE or DISCARD, set bitmap as drity */
+ /* If command type is WRITE or DISCARD, set bitmap as dirty */
if (ufshpb_is_write_or_discard(cmd)) {
ufshpb_iterate_rgn(hpb, rgn_idx, srgn_idx, srgn_offset,
transfer_len, true);
--
2.17.1


2022-10-22 04:28:05

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: ufs: core: Fix typo in comments

On Wed, 19 Oct 2022 12:45:30 +0900, Keoseong Park wrote:

> Change "drity" to "dirty".
>
>

Applied to 6.1/scsi-fixes, thanks!

[1/1] scsi: ufs: core: Fix typo in comments
https://git.kernel.org/mkp/scsi/c/307539eed463

--
Martin K. Petersen Oracle Linux Engineering