2018-05-02 10:12:31

by Colin King

[permalink] [raw]
Subject: [PATCH] gpu: drm: sti: fix spelling mistake: "initialze" -> "initialize"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in DRM_ERROR error message

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

diff --git a/drivers/gpu/drm/sti/sti_crtc.c b/drivers/gpu/drm/sti/sti_crtc.c
index 21e50d7b1f86..5824e6aca8f4 100644
--- a/drivers/gpu/drm/sti/sti_crtc.c
+++ b/drivers/gpu/drm/sti/sti_crtc.c
@@ -357,7 +357,7 @@ int sti_crtc_init(struct drm_device *drm_dev, struct sti_mixer *mixer,
res = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor,
&sti_crtc_funcs, NULL);
if (res) {
- DRM_ERROR("Can't initialze CRTC\n");
+ DRM_ERROR("Can't initialize CRTC\n");
return -EINVAL;
}

--
2.17.0



2018-05-02 11:10:55

by Daniel Vetter

[permalink] [raw]
Subject: Re: [PATCH] gpu: drm: sti: fix spelling mistake: "initialze" -> "initialize"

On Wed, May 02, 2018 at 11:10:48AM +0100, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistake in DRM_ERROR error message
>
> Signed-off-by: Colin Ian King <[email protected]>

Applied to drm-misc-next, thanks.
-Daniel

> ---
> drivers/gpu/drm/sti/sti_crtc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/sti/sti_crtc.c b/drivers/gpu/drm/sti/sti_crtc.c
> index 21e50d7b1f86..5824e6aca8f4 100644
> --- a/drivers/gpu/drm/sti/sti_crtc.c
> +++ b/drivers/gpu/drm/sti/sti_crtc.c
> @@ -357,7 +357,7 @@ int sti_crtc_init(struct drm_device *drm_dev, struct sti_mixer *mixer,
> res = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor,
> &sti_crtc_funcs, NULL);
> if (res) {
> - DRM_ERROR("Can't initialze CRTC\n");
> + DRM_ERROR("Can't initialize CRTC\n");
> return -EINVAL;
> }
>
> --
> 2.17.0
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch