Re: [PATCH 2/2] drm/vmwgfx: Fix typos in comments

Maaz Mombasawala <[email protected]>
Newsgroups org.freedesktop.lists.dri-devel
Message-ID <[email protected]>
On 8/20/26 1:57 AM, liupeng wrote:
> Fix misspellings of "separate", "whether" and "compatibility".
> 
> Signed-off-by: liupeng <[email protected]>
> ---
>  drivers/gpu/drm/vmwgfx/device_include/vm_basic_types.h | 2 +-
>  drivers/gpu/drm/vmwgfx/ttm_object.c                    | 2 +-
>  drivers/gpu/drm/vmwgfx/vmwgfx_surface.c                | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/vmwgfx/device_include/vm_basic_types.h b/drivers/gpu/drm/vmwgfx/device_include/vm_basic_types.h
> index f84376718086..d4cdd9f14294 100644
> --- a/drivers/gpu/drm/vmwgfx/device_include/vm_basic_types.h
> +++ b/drivers/gpu/drm/vmwgfx/device_include/vm_basic_types.h
> @@ -125,7 +125,7 @@ typedef __attribute__((aligned(32))) struct MKSGuestStatInfoEntry {
>   * interpret the pointers.
>   *
>   * Because the host side code never acknowledges anything back to the
> - * guest there is no strict requirement to maintain compatability
> + * guest there is no strict requirement to maintain compatibility
>   * across releases.  If the interface changes the host might not be
>   * able to log stats, but the guest will continue to run normally.
>   */
> diff --git a/drivers/gpu/drm/vmwgfx/ttm_object.c b/drivers/gpu/drm/vmwgfx/ttm_object.c
> index f9042bafdc93..38b6a1787865 100644
> --- a/drivers/gpu/drm/vmwgfx/ttm_object.c
> +++ b/drivers/gpu/drm/vmwgfx/ttm_object.c
> @@ -431,7 +431,7 @@ ttm_object_device_init(const struct dma_buf_ops *ops)
>  
>  	/*
>  	 * Our base is at VMWGFX_NUM_MOB + 1 because we want to create
> -	 * a seperate namespace for GEM handles (which are
> +	 * a separate namespace for GEM handles (which are
>  	 * 1..VMWGFX_NUM_MOB) and the surface handles. Some ioctl's
>  	 * can take either handle as an argument so we want to
>  	 * easily be able to tell whether the handle refers to a
> diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c b/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
> index bd0563741e89..7bf128edfd4a 100644
> --- a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
> +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
> @@ -445,7 +445,7 @@ static int vmw_legacy_srf_create(struct vmw_resource *res)
>   *                  vmw_surface.
>   * @val_buf:        Pointer to a struct ttm_validate_buffer containing
>   *                  information about the backup buffer.
> - * @bind:           Boolean wether to DMA to the surface.
> + * @bind:           Boolean whether to DMA to the surface.
>   *
>   * Transfer backup data to or from a legacy surface as part of the
>   * validation process.

LGTM!

Reviewed-by: Maaz Mombasawala <[email protected]>

-- 
Maaz Mombasawala <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.