[PATCH] drm/vmwgfx: Fix spelling mistake "vmw_surface_cach" -> "vmw_surface_cache"

Colin King colin.king at canonical.com
Thu Sep 16 07:58:16 UTC 2021


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

There is a spelling mistake in the cache argument in the comment block,
fix it.

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 drivers/gpu/drm/vmwgfx/vmw_surface_cache.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/vmwgfx/vmw_surface_cache.h b/drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
index b0d87c5f58d8..e9536c901213 100644
--- a/drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
+++ b/drivers/gpu/drm/vmwgfx/vmw_surface_cache.h
@@ -371,7 +371,7 @@ static inline u32 vmw_surface_subres(const struct vmw_surface_cache *cache,
  * @format: The surface format.
  * @num_mip_levels: Number of mipmap levels.
  * @num_layers: Number of layers.
- * @cache: Pointer to a struct vmw_surface_cach object to be filled in.
+ * @cache: Pointer to a struct vmw_surface_cache object to be filled in.
  *
  * Return: Zero on success, -EINVAL on invalid surface layout.
  */
-- 
2.32.0



More information about the dri-devel mailing list