[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v9 01/23] checkpatch: replace vl.c in the top of repo check
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v9 01/23] checkpatch: replace vl.c in the top of repo check |
Date: |
Thu, 13 Feb 2020 11:55:36 +0000 |
On Tue, Feb 11, 2020 at 03:34:48PM -0500, Alexander Bulekov wrote:
> 524b4c2c5c moves vl.c into softmmu/ , breaking the checkpatch
524b4c2c5c is a local git sha1. That commit will have a different sha1
when applied to qemu.git/master. Saying "The next patch" instead would
be fine.
However, this patch leaves the tree in a state where checkpatch.pl will
fail because softmmu/ doesn't exist yet! Please squash this patch into
the next commit instead.
I guess you kept it separate because changing checkpatch.pl can be
thought of as a separate change. However, they two need to happen in a
single step in order for checkpatch.pl to function correctly at each
commit. Therefore it's appropriate to combine them into a single
commit.
> top-of-kernel-tree check. Replace with checks for softmmu and linux-user
>
> Signed-off-by: Alexander Bulekov <address@hidden>
> ---
> scripts/checkpatch.pl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index ce43a306f8..2e2273b8a3 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -462,7 +462,7 @@ sub top_of_kernel_tree {
> my @tree_check = (
> "COPYING", "MAINTAINERS", "Makefile",
> "README.rst", "docs", "VERSION",
> - "vl.c"
> + "softmmu", "linux-user"
> );
>
> foreach my $check (@tree_check) {
> --
> 2.25.0
>
signature.asc
Description: PGP signature
- [PATCH v9 00/23] Add virtual device fuzzing support, Alexander Bulekov, 2020/02/11
- [PATCH v9 01/23] checkpatch: replace vl.c in the top of repo check, Alexander Bulekov, 2020/02/11
- Re: [PATCH v9 01/23] checkpatch: replace vl.c in the top of repo check,
Stefan Hajnoczi <=
- [PATCH v9 02/23] softmmu: move vl.c to softmmu/, Alexander Bulekov, 2020/02/11
- [PATCH v9 04/23] module: check module wasn't already initialized, Alexander Bulekov, 2020/02/11
- [PATCH v9 03/23] softmmu: split off vl.c:main() into main.c, Alexander Bulekov, 2020/02/11
- [PATCH v9 05/23] fuzz: add FUZZ_TARGET module type, Alexander Bulekov, 2020/02/11
- [PATCH v9 06/23] qtest: add qtest_server_send abstraction, Alexander Bulekov, 2020/02/11
- [PATCH v9 11/23] libqos: split qos-test and libqos makefile vars, Alexander Bulekov, 2020/02/11
- [PATCH v9 09/23] qtest: add in-process incoming command handler, Alexander Bulekov, 2020/02/11
- [PATCH v9 10/23] libqos: rename i2c_send and i2c_recv, Alexander Bulekov, 2020/02/11
- [PATCH v9 07/23] libqtest: add a layer of abstraction to send/recv, Alexander Bulekov, 2020/02/11