linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Andrew Jones <drjones@redhat.com>
Cc: kvm@vger.kernel.org, maz@kernel.org, qemu-arm@nongnu.org,
	idan.horowitz@gmail.com, kvmarm@lists.cs.columbia.edu,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [kvm-unit-tests PATCH v8 01/10] docs: mention checkpatch in the README
Date: Wed, 24 Nov 2021 11:38:16 +0000	[thread overview]
Message-ID: <87y25dhjcw.fsf@linaro.org> (raw)
In-Reply-To: <20211124110659.jhjuuzez6ij5v7g7@gator.home>


Andrew Jones <drjones@redhat.com> writes:

> On Thu, Nov 18, 2021 at 06:46:41PM +0000, Alex Bennée wrote:
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>>  README.md | 2 ++
>>  1 file changed, 2 insertions(+)
>> 
>> diff --git a/README.md b/README.md
>> index b498aaf..5db48e5 100644
>> --- a/README.md
>> +++ b/README.md
>> @@ -182,3 +182,5 @@ the code files.  We also start with common code and finish with unit test
>>  code. git-diff's orderFile feature allows us to specify the order in a
>>  file.  The orderFile we use is `scripts/git.difforder`; adding the config
>>  with `git config diff.orderFile scripts/git.difforder` enables it.
>> +
>> +Please run the kernel's ./scripts/checkpatch.pl on new patches
>
> This is a bit of a problem for kvm-unit-tests code which still has a mix
> of styles since it was originally written with a strange tab and space
> mixed style. If somebody is patching one of those files we've usually
> tried to maintain the original style rather than reformat the whole
> thing (in hindsight maybe we should have just reformatted). We're also
> more flexible with line length than Linux, although Linux now only warns
> for anything over 80 as long as it's under 100, which is probably good
> enough for us too. Anyway, let's see what Paolo and Thomas say. Personally
> I wouldn't mind adding this line to the documentation, so I'll ack it.
> Anyway, we can also ignore our own advise when it suits us :-)
>
> Acked-by: Andrew Jones <drjones@redhat.com>

I can make the wording more weaselly:

 We strive to follow the Linux kernels coding style so it's recommended
 to run the kernel's ./scripts/checkpatch.pl on new patches.

I added this reference because on the older iterations of these test
divergence from the kernel coding style was pointed out and I've fixed
them in this iteration.

>
> Thanks,
> drew


-- 
Alex Bennée

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-11-24 11:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-18 18:46 [kvm-unit-tests PATCH v8 00/10] MTTCG sanity tests for ARM Alex Bennée
2021-11-18 18:46 ` [kvm-unit-tests PATCH v8 01/10] docs: mention checkpatch in the README Alex Bennée
2021-11-24 11:06   ` Andrew Jones
2021-11-24 11:08     ` Andrew Jones
2021-11-24 11:38     ` Alex Bennée [this message]
2021-11-18 18:46 ` [kvm-unit-tests PATCH v8 02/10] arm/flat.lds: don't drop debug during link Alex Bennée
2021-11-18 18:46 ` [kvm-unit-tests PATCH v8 03/10] Makefile: add GNU global tags support Alex Bennée
2021-11-18 18:46 ` [kvm-unit-tests PATCH v8 04/10] run_tests.sh: add --config option for alt test set Alex Bennée
2021-11-24 16:48   ` Andrew Jones
2021-12-01 16:20     ` Alex Bennée
2021-12-01 16:41       ` Andrew Jones
2021-12-01 17:07         ` Alex Bennée
2021-11-18 18:46 ` [kvm-unit-tests PATCH v8 05/10] lib: add isaac prng library from CCAN Alex Bennée
2021-11-18 18:46 ` [kvm-unit-tests PATCH v8 06/10] arm/tlbflush-code: TLB flush during code execution Alex Bennée
2021-11-18 18:46 ` [kvm-unit-tests PATCH v8 07/10] arm/locking-tests: add comprehensive locking test Alex Bennée
2021-11-18 18:46 ` [kvm-unit-tests PATCH v8 08/10] arm/barrier-litmus-tests: add simple mp and sal litmus tests Alex Bennée
2021-11-24 16:14   ` Andrew Jones
2021-11-18 18:46 ` [kvm-unit-tests PATCH v8 09/10] arm/run: use separate --accel form Alex Bennée
2021-11-18 18:46 ` [kvm-unit-tests PATCH v8 10/10] arm/tcg-test: some basic TCG exercising tests Alex Bennée

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y25dhjcw.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=drjones@redhat.com \
    --cc=idan.horowitz@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=maz@kernel.org \
    --cc=qemu-arm@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).