[Mesa-stable] [Mesa-dev] [PATCH] gallium: fix typos in README.portability

Andres Gomez agomez at igalia.com
Wed Nov 1 12:40:12 UTC 2017


This is:

Reviewed-by: Andres Gomez <agomez at igalia.com>

I would drop the mesa-stable nomination, though. These are just typos
and not even in the docs/ directory ...

On Mon, 2017-10-30 at 10:55 -0400, Ben Crocker wrote:
> Cc: "17.2" <mesa-stable at lists.freedesktop.org>
> Signed-off-by: Ben Crocker <bcrocker at redhat.com>
> ---
>  src/gallium/README.portability | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/gallium/README.portability b/src/gallium/README.portability
> index cf6cc36afb..cdc02bb36d 100644
> --- a/src/gallium/README.portability
> +++ b/src/gallium/README.portability
> @@ -45,7 +45,7 @@ not available in Windows Kernel Mode. Use the appropriate p_*.h include.
>  
>  = Code Style =
>  
> -== Inherantice in C ==
> +== Inheritance in C ==
>  
>  The main thing we do is mimic inheritance by structure containment.
>  
> @@ -58,7 +58,7 @@ struct buffer
>    void (*validate)(struct buffer *buf);
>  };
>  
> -/* sub-class of bufffer */
> +/* sub-class of buffer */
>  struct texture_buffer
>  {
>    struct buffer base;  /* the base class, MUST COME FIRST! */
> @@ -104,4 +104,4 @@ Note that we typically do not use typedefs to make "class names"; we use
>  'struct whatever' everywhere.
>  
>  Gallium's pipe_context and the subclassed psb_context, etc are prime examples 
> -of this.  There's also many examples in Mesa and the Mesa state tracker.
> +of this.  There are also many examples in Mesa and the Mesa state tracker.
-- 
Br,

Andres


More information about the mesa-stable mailing list