[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241203145006.GGZ08anlXCntr8cjVu@fat_crate.local>
Date: Tue, 3 Dec 2024 15:50:06 +0100
From: Borislav Petkov <bp@...en8.de>
To: "Nikunj A. Dadhania" <nikunj@....com>
Cc: linux-kernel@...r.kernel.org, thomas.lendacky@....com, x86@...nel.org,
kvm@...r.kernel.org, mingo@...hat.com, tglx@...utronix.de,
dave.hansen@...ux.intel.com, pgonda@...gle.com, seanjc@...gle.com,
pbonzini@...hat.com
Subject: Re: [PATCH v15 01/13] x86/sev: Carve out and export SNP guest
messaging init routines
On Tue, Dec 03, 2024 at 08:05:32PM +0530, Nikunj A. Dadhania wrote:
> This is what I use with checkpatch, that didnt catch the wrong spelling.
Not surprised.
> Do you suggest using something else ?
You can enable spellchecking in your editor with which you write the commit
messages. For example:
https://www.linux.com/training-tutorials/using-spell-checking-vim/
Or, you can use my tool:
https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git/log/?h=vp
You'd need to fish it out of the repo.
It doesn't completely replace checkpatch yet but I am extending it with
features as I go. But it does spellcheck:
$ ~/dev/vp/.tip/bin/vp.py ~/tmp/review/new
prepratation for adding Secure TSC guest support, carve out APIs to
Unknown word [prepratation] in commit message.
Suggestions: ['preparation', 'preparations', 'reparation', 'perpetration', 'reputation', 'perpetuation', 'peroration', 'presentation', 'repatriation', 'propagation', "preparation's"]
Class patch:
original subject: [[PATCH v15 01/13] x86/sev: Carve out and export SNP guest messaging init routines]
subject: [x86/sev: Carve out and export SNP guest messaging init routines]
sender: [Nikunj A Dadhania <nikunj@....com>]
author: [Nikunj A Dadhania <nikunj@....com>]
version: [15]
number: [1]
name: [x86-sev-carve_out_and_export_snp_guest_messaging_init_routines]
date: [Tue, 03 Dec 2024 14:30:33 +0530]
message-id: [20241203090045.942078-2-nikunj@....com]
I'm sure there are gazillion other ways to automate it, ofc.
HTH.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists