lkml.org 
[lkml]   [2022]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH][next] KVM: selftests: Fix spelling mistake "probabalistic" -> "probabilistic"
From
On 02/12/2022 17:21, Sean Christopherson wrote:
> On Thu, Dec 01, 2022, Colin Ian King wrote:
>> There is a spelling mistake in some help text. Fix it.
>
> I assume you have a script/tool of some form to do spell checking? If so, can
> you point me at it? I'd love to incorporate something like that into my workflow.

https://github.com/ColinIanKing/kernelscan

It needs an appropriate dictionary to be installed. It's very fast (but
sometimes makes mistakes, I need to fix those!).

./kernelscan -k src_directory > mistakes.txt

I normally run this across the entire kernel git repo on a daily basis,
and diff the new results with the previous results using meld and figure
out what needs to be fixed.

You may be better off with using codespell

Colin

>
> Thanks!
>
>> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
>> ---
>
> Reviewed-by: Sean Christopherson <seanjc@google.com>

\
 
 \ /
  Last update: 2022-12-02 18:46    [W:0.052 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site