Re: [PATCH 1/1] scripts/spelling.txt: Adding misspelled word for check.

From: Kees Cook
Date: Fri Jun 26 2015 - 13:37:42 EST


On Thu, Jun 25, 2015 at 9:13 PM, Maninder Singh <maninder1.s@xxxxxxxxxxx> wrote:
> misspelled words for check:-
> chcek
> chck
> cehck
>
> I myself did these spell mistakes in changelog for patches,
> Thus suggesting to add in spelling.txt, so that checkpatch.pl
> warns it earlier.
> References:-
>
> ./arch/powerpc/kernel/exceptions-64e.S:456: . . . make sure you chcek
> https://lkml.org/lkml/2015/6/25/289
> ./arch/x86/mm/pageattr.c:1368: * No need to cehck in that case
>
> Signed-off-by: Maninder Singh <maninder1.s@xxxxxxxxxxx>

Thanks! These aren't very common, but there aren't any false positives. :)

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

-Kees

> ---
> scripts/spelling.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/scripts/spelling.txt b/scripts/spelling.txt
> index bb8e4d0..958d054 100644
> --- a/scripts/spelling.txt
> +++ b/scripts/spelling.txt
> @@ -187,6 +187,7 @@ capatibilities||capabilities
> carefuly||carefully
> cariage||carriage
> catagory||category
> +cehck||check
> challange||challenge
> challanges||challenges
> chanell||channel
> @@ -199,6 +200,8 @@ charactor||character
> charater||character
> charaters||characters
> charcter||character
> +chcek||check
> +chck||check
> checksuming||checksumming
> childern||children
> childs||children
> --
> 1.7.9.5
>



--
Kees Cook
Chrome OS Security
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/