[PATCH][next] drm/msm: Fix spelling mistake "Purgable" -> "Purgeable"

Rob Clark robdclark at gmail.com
Tue Apr 6 15:09:21 UTC 2021


On Tue, Apr 6, 2021 at 6:39 AM Colin King <colin.king at canonical.com> wrote:
>
> From: Colin Ian King <colin.king at 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 at 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
>


More information about the dri-devel mailing list