[Mesa-dev] [PATCH] Typo: ammount -> amount

Edward O'Callaghan funfunctor at folklore1984.net
Mon Apr 24 02:18:29 UTC 2017


Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>

On 04/23/2017 11:13 PM, Giuseppe Bilotta wrote:
> ---
>  src/compiler/nir/nir_array.h              | 2 +-
>  src/compiler/spirv/spirv_to_nir.c         | 2 +-
>  src/gallium/winsys/svga/drm/vmw_context.c | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/compiler/nir/nir_array.h b/src/compiler/nir/nir_array.h
> index 4d7a532a7f..049ffedb39 100644
> --- a/src/compiler/nir/nir_array.h
> +++ b/src/compiler/nir/nir_array.h
> @@ -59,7 +59,7 @@ nir_array_fini(nir_array *arr)
>  
>  #define NIR_ARRAY_INITIAL_SIZE 64
>  
> -/* Increments the size of the array by the given ammount and returns a
> +/* Increments the size of the array by the given amount and returns a
>   * pointer to the beginning of the newly added space.
>   */
>  static inline void *
> diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c
> index d3ad2d13ed..30addc5533 100644
> --- a/src/compiler/spirv/spirv_to_nir.c
> +++ b/src/compiler/spirv/spirv_to_nir.c
> @@ -200,7 +200,7 @@ vtn_string_literal(struct vtn_builder *b, const uint32_t *words,
>  {
>     char *dup = ralloc_strndup(b, (char *)words, word_count * sizeof(*words));
>     if (words_used) {
> -      /* Ammount of space taken by the string (including the null) */
> +      /* Amount of space taken by the string (including the null) */
>        unsigned len = strlen(dup) + 1;
>        *words_used = DIV_ROUND_UP(len, sizeof(*words));
>     }
> diff --git a/src/gallium/winsys/svga/drm/vmw_context.c b/src/gallium/winsys/svga/drm/vmw_context.c
> index c306d988e0..72efe4d2a2 100644
> --- a/src/gallium/winsys/svga/drm/vmw_context.c
> +++ b/src/gallium/winsys/svga/drm/vmw_context.c
> @@ -146,7 +146,7 @@ struct vmw_svga_winsys_context
>  
>     /**
>      * Whether this context should fail to reserve more commands, not because it
> -    * ran out of command space, but because a substantial ammount of GMR was
> +    * ran out of command space, but because a substantial amount of GMR was
>      * referred.
>      */
>     boolean preemptive_flush;
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170424/a1ce608a/attachment.sig>


More information about the mesa-dev mailing list