Re: [PATCH v2] scripts/checkpatch: Support codespell checking

2024-01-04 Thread Zhao Liu
Hi Samuel, On Wed, Jan 03, 2024 at 03:36:59PM +0100, Samuel Tardieu wrote: > Date: Wed, 03 Jan 2024 15:36:59 +0100 > From: Samuel Tardieu > Subject: Re: [PATCH v2] scripts/checkpatch: Support codespell checking > > > + --codespellUse the codespell dictionar

Re: [PATCH v2] scripts/checkpatch: Support codespell checking

2024-01-03 Thread Samuel Tardieu
+ --codespellUse the codespell dictionary for spelling/typos + (default:$codespellfile) Nitpick: I would have used a space after ":". + # If /usr/share/codespell/dictionary.txt is not present, try to find it + # under codespell's install directory:

Re: [PATCH v2] scripts/checkpatch: Support codespell checking

2024-01-03 Thread Zhao Liu
Hi maintainers, Just a kindly ping for review. :-) Thanks, Zhao On Fri, Dec 15, 2023 at 06:34:48PM +0800, Zhao Liu wrote: > Date: Fri, 15 Dec 2023 18:34:48 +0800 > From: Zhao Liu > Subject: [PATCH v2] scripts/checkpatch: Support codespell checking > X-Mailer: git-send-email 2.34

[PATCH v2] scripts/checkpatch: Support codespell checking

2023-12-15 Thread Zhao Liu
From: Zhao Liu Add two spelling check options (--codespell and --codespellfile) to enhance spelling check through dictionary, which copied the Linux kernel's implementation in checkpatch.pl. This check uses the dictionary at "/usr/share/codespell/dictionary.txt" by default, if there is no dictio