2020-06-17 08:51:30

by Colin King

[permalink] [raw]
Subject: [PATCH][next] scsi: ufs: ufs-exynos: fix spelling mistake "pa_granularty" -> "pa_granularity"

From: Colin Ian King <[email protected]>

There is a spelling mistake in a dev_warn message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/scsi/ufs/ufs-exynos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/ufs/ufs-exynos.c b/drivers/scsi/ufs/ufs-exynos.c
index 440f2af83d9c..0a9e99084f2a 100644
--- a/drivers/scsi/ufs/ufs-exynos.c
+++ b/drivers/scsi/ufs/ufs-exynos.c
@@ -883,7 +883,7 @@ static int exynos_ufs_post_link(struct ufs_hba *hba)
if (attr->pa_granularity < 1 || attr->pa_granularity > 6) {
/* Valid range for granularity: 1 ~ 6 */
dev_warn(hba->dev,
- "%s: pa_granularty %d is invalid, assuming backwards compatibility\n",
+ "%s: pa_granularity %d is invalid, assuming backwards compatibility\n",
__func__,
attr->pa_granularity);
attr->pa_granularity = 6;
--
2.27.0.rc0


2020-06-17 09:01:44

by Alim Akhtar

[permalink] [raw]
Subject: Re: [PATCH][next] scsi: ufs: ufs-exynos: fix spelling mistake "pa_granularty" -> "pa_granularity"

On Wed, Jun 17, 2020 at 2:19 PM Colin King <[email protected]> wrote:
>
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a dev_warn message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
Thanks Colin,
Reviewed-by: Alim Akhtar <[email protected]>

> drivers/scsi/ufs/ufs-exynos.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/ufs/ufs-exynos.c b/drivers/scsi/ufs/ufs-exynos.c
> index 440f2af83d9c..0a9e99084f2a 100644
> --- a/drivers/scsi/ufs/ufs-exynos.c
> +++ b/drivers/scsi/ufs/ufs-exynos.c
> @@ -883,7 +883,7 @@ static int exynos_ufs_post_link(struct ufs_hba *hba)
> if (attr->pa_granularity < 1 || attr->pa_granularity > 6) {
> /* Valid range for granularity: 1 ~ 6 */
> dev_warn(hba->dev,
> - "%s: pa_granularty %d is invalid, assuming backwards compatibility\n",
> + "%s: pa_granularity %d is invalid, assuming backwards compatibility\n",
> __func__,
> attr->pa_granularity);
> attr->pa_granularity = 6;
> --
> 2.27.0.rc0
>


--
Regards,
Alim

2020-06-20 05:08:29

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH][next] scsi: ufs: ufs-exynos: fix spelling mistake "pa_granularty" -> "pa_granularity"

On Wed, 17 Jun 2020 09:49:11 +0100, Colin King wrote:

> There is a spelling mistake in a dev_warn message. Fix it.

Applied to 5.9/scsi-queue, thanks!

[1/1] scsi: ufs: ufs-exynos: Fix spelling mistake "pa_granularty" -> "pa_granularity"
https://git.kernel.org/mkp/scsi/c/393403efc360

--
Martin K. Petersen Oracle Linux Engineering