Re: [PATCH] ima: Fix trivial typos in the comments

From: Joe Perches
Date: Fri Jan 14 2022 - 21:10:20 EST


On Fri, 2022-01-14 at 08:27 -0500, Mimi Zohar wrote:
> Hi Joe,
>
> On Thu, 2022-01-13 at 18:05 -0800, Joe Perches wrote:
> > On Thu, 2022-01-13 at 20:51 -0500, Mimi Zohar wrote:
> > > On Wed, 2022-01-12 at 17:46 +0900, Austin Kim wrote:
> > > > > There are a few minor typos in the comments. Fix these.
> > > It would be really nice if checkpatch.pl would catch spelling mistakes
> > > before the patch was upstreamed.
> >
> > Try ./scripts/checkpatch.pl --strict
>
> "--strict" didn't find the typos in comments, but "--codespell" did.
> Nice!

Right, but it does depend on the particular typo.

checkpatch always uses the scripts/spelling.txt dictionary.

codespell isn't always installed on machines and has to be
enabled with that --codespell option.

Anyway, glad it works for you.