Re: [PATCH v2] checkpatch: look for common misspellings

From: Masanari Iida
Date: Fri Sep 12 2014 - 06:30:24 EST


On Fri, Sep 12, 2014 at 1:45 PM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> On Fri, 2014-09-12 at 13:09 +0900, Masanari Iida wrote:
>> Test with "reseting" case, codespell found 21, grep found 26.
>
> Hello Masanari.
>
> How did codespell find any uses of reseting?
> What version of codespell are you using?
> (I tested with 1.7)
>
> Looking at the git tree for codespell,
> https://github.com/lucasdemarchi/codespell.git
> the dictionary there doesn't have reseting.
>
Joe,

First of all, I use codespell 1.4 scripts with my original dictionary
based on 1.4.
So I believe the "reseting" was added by me some times ago.

> If I add reseting->resetting to the dictionary,
> then codespell finds the same 31 uses that
> git grep -i does.
>
My codespell 1.4 works as case sensitive.
That's why we saw a little bit different result.

Masanari
--
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/