drm/sti: fix typos in comments
authorJulia Lawall <Julia.Lawall@inria.fr>
Mon, 14 Mar 2022 11:53:40 +0000 (12:53 +0100)
committerPhilippe Cornu <philippe.cornu@foss.st.com>
Thu, 7 Apr 2022 09:31:52 +0000 (11:31 +0200)
Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220314115354.144023-17-Julia.Lawall@inria.fr
drivers/gpu/drm/sti/sti_gdp.c

index 3db3768..b58415f 100644 (file)
@@ -406,7 +406,7 @@ static struct sti_gdp_node_list *sti_gdp_get_free_nodes(struct sti_gdp *gdp)
                    (hw_nvn != gdp->node_list[i].top_field_paddr))
                        return &gdp->node_list[i];
 
-       /* in hazardious cases restart with the first node */
+       /* in hazardous cases restart with the first node */
        DRM_ERROR("inconsistent NVN for %s: 0x%08X\n",
                        sti_plane_to_str(&gdp->plane), hw_nvn);