linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][next] drm/msm: Fix spelling mistake "Purgable" -> "Purgeable"
@ 2021-04-06 13:39 Colin King
  2021-04-06 15:09 ` Rob Clark
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2021-04-06 13:39 UTC (permalink / raw)
  To: Rob Clark, Sean Paul, David Airlie, linux-arm-msm, dri-devel, freedreno
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in debugfs gem stats. Fix it. Also
re-align output to cater for the extra 1 character.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/gpu/drm/msm/msm_gem.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/msm/msm_gem.c b/drivers/gpu/drm/msm/msm_gem.c
index f146d9c5ba9c..4e2e0a93d17d 100644
--- a/drivers/gpu/drm/msm/msm_gem.c
+++ b/drivers/gpu/drm/msm/msm_gem.c
@@ -979,13 +979,13 @@ void msm_gem_describe_objects(struct list_head *list, struct seq_file *m)
 		msm_gem_describe(obj, m, &stats);
 	}
 
-	seq_printf(m, "Total:    %4d objects, %9zu bytes\n",
+	seq_printf(m, "Total:     %4d objects, %9zu bytes\n",
 			stats.all.count, stats.all.size);
-	seq_printf(m, "Active:   %4d objects, %9zu bytes\n",
+	seq_printf(m, "Active:    %4d objects, %9zu bytes\n",
 			stats.active.count, stats.active.size);
-	seq_printf(m, "Purgable: %4d objects, %9zu bytes\n",
+	seq_printf(m, "Purgeable: %4d objects, %9zu bytes\n",
 			stats.purgable.count, stats.purgable.size);
-	seq_printf(m, "Purged:   %4d objects, %9zu bytes\n",
+	seq_printf(m, "Purged:    %4d objects, %9zu bytes\n",
 			stats.purged.count, stats.purged.size);
 }
 #endif
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][next] drm/msm: Fix spelling mistake "Purgable" -> "Purgeable"
  2021-04-06 13:39 [PATCH][next] drm/msm: Fix spelling mistake "Purgable" -> "Purgeable" Colin King
@ 2021-04-06 15:09 ` Rob Clark
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Clark @ 2021-04-06 15:09 UTC (permalink / raw)
  To: Colin King
  Cc: Sean Paul, David Airlie, linux-arm-msm, dri-devel, freedreno,
	kernel-janitors, Linux Kernel Mailing List

On Tue, Apr 6, 2021 at 6:39 AM Colin King <colin.king@canonical.com> wrote:
>
> From: Colin Ian King <colin.king@canonical.com>
>
> There is a spelling mistake in debugfs gem stats. Fix it. Also
> re-align output to cater for the extra 1 character.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/gpu/drm/msm/msm_gem.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/msm/msm_gem.c b/drivers/gpu/drm/msm/msm_gem.c
> index f146d9c5ba9c..4e2e0a93d17d 100644
> --- a/drivers/gpu/drm/msm/msm_gem.c
> +++ b/drivers/gpu/drm/msm/msm_gem.c
> @@ -979,13 +979,13 @@ void msm_gem_describe_objects(struct list_head *list, struct seq_file *m)
>                 msm_gem_describe(obj, m, &stats);
>         }
>
> -       seq_printf(m, "Total:    %4d objects, %9zu bytes\n",
> +       seq_printf(m, "Total:     %4d objects, %9zu bytes\n",
>                         stats.all.count, stats.all.size);
> -       seq_printf(m, "Active:   %4d objects, %9zu bytes\n",
> +       seq_printf(m, "Active:    %4d objects, %9zu bytes\n",
>                         stats.active.count, stats.active.size);
> -       seq_printf(m, "Purgable: %4d objects, %9zu bytes\n",
> +       seq_printf(m, "Purgeable: %4d objects, %9zu bytes\n",
>                         stats.purgable.count, stats.purgable.size);

oh, whoops.. I spel gud..

Thanks, applied.. I'll follow-up with fixing the spelling in the code

BR,
-R

> -       seq_printf(m, "Purged:   %4d objects, %9zu bytes\n",
> +       seq_printf(m, "Purged:    %4d objects, %9zu bytes\n",
>                         stats.purged.count, stats.purged.size);
>  }
>  #endif
> --
> 2.30.2
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-06 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06 13:39 [PATCH][next] drm/msm: Fix spelling mistake "Purgable" -> "Purgeable" Colin King
2021-04-06 15:09 ` Rob Clark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).