lkml.org 
[lkml]   [2021]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH][next] drm/msm: Fix spelling mistake "Purgable" -> "Purgeable"
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
>

\
 
 \ /
  Last update: 2021-04-06 17:06    [W:0.037 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site