[Intel-gfx] [PATCH] sna: Correct misspelled cacheing->caching in comments

Chris Wilson chris at chris-wilson.co.uk
Wed Jun 24 03:04:43 PDT 2015


On Tue, Jun 23, 2015 at 07:45:42AM +0200, Sedat Dilek wrote:
> I have seen this typo once and added an entry to codespell's dictionary.txt file.
> 
> $ diff -uprN /usr/share/codespell/dictionary.txt.orig /usr/share/codespell/dictionary.txt
> --- /usr/share/codespell/dictionary.txt.orig    2015-06-09 20:49:25.000000000 +0200
> +++ /usr/share/codespell/dictionary.txt 2015-06-23 07:37:35.893689539 +0200
> @@ -625,6 +625,7 @@ burried->buried
>  busineses->business, businesses,
>  busness->business
>  bussiness->business
> +cacheing->caching
>  caculater->calculator
>  cacuses->caucuses
>  cahracters->characters
> 
> There some other places where this typo occurs:
> 
> [ src/sna/kgem.c ]
> 
>  298:static void assert_cacheing(struct kgem *kgem, struct kgem_bo *bo)
>  324:#define assert_cacheing(kgem, bo)
> 2455:  assert_cacheing(kgem, bo);
> 2841:  assert_cacheing(kgem, bo);
> 
> It's up to Chris what to do with this.

I just can't get paste reading 'caching' as two hard Cs and so it feels
weird.

commit f414ed4e40292e91e9c6850fb01a26334e6b43c7
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Jun 24 11:02:28 2015 +0100

    sna: Fix misspelling of "caching"
    
    Apply s/cacheing/caching/ because I am alone in my belief of how to
    spell cacheing correctly :)
    
    Suggested-by: Sedat Dilek <sedat.dilek at gmail.com>
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list