All of lore.kernel.org
 help / color / mirror / Atom feed
From: no-reply@patchew.org
To: lv.zheng@intel.com
Cc: famz@redhat.com, mst@redhat.com, qemu-devel@nongnu.org,
	zetalog@gmail.com, qemu-arm@nongnu.org, lv.zheng@intel.com,
	imammedo@redhat.com, shannon.zhao@linaro.org
Subject: Re: [Qemu-arm] [Qemu-devel] [PATCH] ACPI: Add -acpifadt to allow FADT revision changes
Date: Mon, 8 Aug 2016 00:35:02 -0700 (PDT)	[thread overview]
Message-ID: <E1bWf5f-0007lK-Nv@eggs.gnu.org> (raw)
In-Reply-To: <409b2bbd046a53987a71e64d855e5761d441bbaf.1470641265.git.lv.zheng@intel.com>

Hi,

Your series seems to have some coding style problems. See output below for
more information:

Message-id: 409b2bbd046a53987a71e64d855e5761d441bbaf.1470641265.git.lv.zheng@intel.com
Type: series
Subject: [Qemu-devel] [PATCH] ACPI: Add -acpifadt to allow FADT revision changes

=== TEST SCRIPT BEGIN ===
#!/bin/bash

BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0

commits="$(git log --format=%H --reverse $BASE..)"
for c in $commits; do
    echo "Checking PATCH $n/$total: $(git show --no-patch --format=%s $c)..."
    if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
        failed=1
        echo
    fi
    n=$((n+1))
done

exit $failed
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
 * [new tag]         patchew/409b2bbd046a53987a71e64d855e5761d441bbaf.1470641265.git.lv.zheng@intel.com -> patchew/409b2bbd046a53987a71e64d855e5761d441bbaf.1470641265.git.lv.zheng@intel.com
 * [new tag]         patchew/5d4b5e6b17eadf92b61e9ef6f3118f7658bb99d0.1470641028.git.lv.zheng@intel.com -> patchew/5d4b5e6b17eadf92b61e9ef6f3118f7658bb99d0.1470641028.git.lv.zheng@intel.com
Switched to a new branch 'test'
10f0124 ACPI: Add -acpifadt to allow FADT revision changes

=== OUTPUT BEGIN ===
Checking PATCH 1/1: ACPI: Add -acpifadt to allow FADT revision changes...
ERROR: code indent should never use tabs
#31: FILE: hw/i386/acpi-build.c:281:
+^I  uint8_t bit_width, uint8_t bit_offset,$

ERROR: code indent should never use tabs
#32: FILE: hw/i386/acpi-build.c:282:
+^I  uint8_t access_width, uint64_t address)$

ERROR: spaces required around that '=' (ctx:VxW)
#37: FILE: hw/i386/acpi-build.c:287:
+    gas->access_width= access_width;
                      ^

WARNING: consider using qemu_strtoul in preference to strtoul
#187: FILE: vl.c:2310:
+    rev = strtoul(arg, NULL, 0);

total: 3 errors, 1 warnings, 162 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

=== OUTPUT END ===

Test command exited with code: 1

WARNING: multiple messages have this Message-ID (diff)
From: no-reply@patchew.org
To: lv.zheng@intel.com
Cc: famz@redhat.com, mst@redhat.com, imammedo@redhat.com,
	shannon.zhao@linaro.org, qemu-arm@nongnu.org, zetalog@gmail.com,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] ACPI: Add -acpifadt to allow FADT revision changes
Date: Mon, 8 Aug 2016 00:35:02 -0700 (PDT)	[thread overview]
Message-ID: <E1bWf5f-0007lK-Nv@eggs.gnu.org> (raw)
In-Reply-To: <409b2bbd046a53987a71e64d855e5761d441bbaf.1470641265.git.lv.zheng@intel.com>

Hi,

Your series seems to have some coding style problems. See output below for
more information:

Message-id: 409b2bbd046a53987a71e64d855e5761d441bbaf.1470641265.git.lv.zheng@intel.com
Type: series
Subject: [Qemu-devel] [PATCH] ACPI: Add -acpifadt to allow FADT revision changes

=== TEST SCRIPT BEGIN ===
#!/bin/bash

BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0

commits="$(git log --format=%H --reverse $BASE..)"
for c in $commits; do
    echo "Checking PATCH $n/$total: $(git show --no-patch --format=%s $c)..."
    if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
        failed=1
        echo
    fi
    n=$((n+1))
done

exit $failed
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
 * [new tag]         patchew/409b2bbd046a53987a71e64d855e5761d441bbaf.1470641265.git.lv.zheng@intel.com -> patchew/409b2bbd046a53987a71e64d855e5761d441bbaf.1470641265.git.lv.zheng@intel.com
 * [new tag]         patchew/5d4b5e6b17eadf92b61e9ef6f3118f7658bb99d0.1470641028.git.lv.zheng@intel.com -> patchew/5d4b5e6b17eadf92b61e9ef6f3118f7658bb99d0.1470641028.git.lv.zheng@intel.com
Switched to a new branch 'test'
10f0124 ACPI: Add -acpifadt to allow FADT revision changes

=== OUTPUT BEGIN ===
Checking PATCH 1/1: ACPI: Add -acpifadt to allow FADT revision changes...
ERROR: code indent should never use tabs
#31: FILE: hw/i386/acpi-build.c:281:
+^I  uint8_t bit_width, uint8_t bit_offset,$

ERROR: code indent should never use tabs
#32: FILE: hw/i386/acpi-build.c:282:
+^I  uint8_t access_width, uint64_t address)$

ERROR: spaces required around that '=' (ctx:VxW)
#37: FILE: hw/i386/acpi-build.c:287:
+    gas->access_width= access_width;
                      ^

WARNING: consider using qemu_strtoul in preference to strtoul
#187: FILE: vl.c:2310:
+    rev = strtoul(arg, NULL, 0);

total: 3 errors, 1 warnings, 162 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

=== OUTPUT END ===

Test command exited with code: 1

  reply	other threads:[~2016-08-08 14:13 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-08  7:28 [Qemu-arm] [PATCH] ACPI: Add -acpifadt to allow FADT revision changes Lv Zheng
2016-08-08  7:28 ` [Qemu-devel] " Lv Zheng
2016-08-08  7:35 ` no-reply [this message]
2016-08-08  7:35   ` no-reply
2016-08-08  8:16 ` [Qemu-arm] [PATCH v2] " Lv Zheng
2016-08-08  8:16   ` [Qemu-devel] " Lv Zheng
2016-08-08  9:01   ` [Qemu-arm] " Paolo Bonzini
2016-08-08  9:01     ` [Qemu-devel] " Paolo Bonzini
2016-08-09 21:06     ` [Qemu-arm] " Zheng, Lv
2016-08-09 21:06       ` [Qemu-devel] " Zheng, Lv
2016-08-08 11:25 ` [Qemu-arm] [PATCH] " Igor Mammedov
2016-08-08 11:25   ` [Qemu-devel] " Igor Mammedov
2016-08-11  9:06 ` [Qemu-arm] [PATCH v3 0/2] ACPI: Add FADT revision support Lv Zheng
2016-08-11  9:06   ` [Qemu-devel] " Lv Zheng
2016-08-11  9:06   ` [Qemu-arm] [PATCH v3 1/2] ACPI: Cleanup -acpitable option code Lv Zheng
2016-08-11  9:06     ` [Qemu-devel] " Lv Zheng
2016-08-11  9:06   ` [Qemu-devel] [PATCH v3 2/2] ACPI: Add -acpitable fadt= to allow FADT revision changes Lv Zheng
2016-08-11  9:06     ` Lv Zheng
2016-08-11  9:11   ` [Qemu-arm] [Qemu-devel] [PATCH v3 0/2] ACPI: Add FADT revision support no-reply
2016-08-11  9:11     ` no-reply
2016-08-11  9:12 ` [Qemu-devel] [PATCH v4 " Lv Zheng
2016-08-11  9:12   ` Lv Zheng
2016-08-11  9:12   ` [Qemu-arm] [PATCH v4 1/2] ACPI: Cleanup -acpitable option code Lv Zheng
2016-08-11  9:12     ` [Qemu-devel] " Lv Zheng
2016-08-11  9:17     ` [Qemu-arm] " Zheng, Lv
2016-08-11  9:17       ` [Qemu-devel] " Zheng, Lv
2016-08-11  9:12   ` [Qemu-devel] [PATCH v4 2/2] ACPI: Add -acpitable fadt= to allow FADT revision changes Lv Zheng
2016-08-11  9:12     ` Lv Zheng
2016-08-11  9:36 ` [Qemu-arm] [PATCH v5 0/2] ACPI: Add FADT revision support Lv Zheng
2016-08-11  9:36   ` [Qemu-devel] " Lv Zheng
2016-08-11  9:36   ` [Qemu-arm] [PATCH v5 1/2] ACPI: Cleanup -acpitable option code Lv Zheng
2016-08-11  9:36     ` [Qemu-devel] " Lv Zheng
2016-08-12 14:51     ` [Qemu-arm] " Igor Mammedov
2016-08-12 14:51       ` [Qemu-devel] " Igor Mammedov
2016-08-15  5:23       ` [Qemu-arm] " Zheng, Lv
2016-08-15  5:23         ` [Qemu-devel] " Zheng, Lv
2016-08-11  9:36   ` [Qemu-devel] [PATCH v5 2/2] ACPI: Add -acpitable fadt= to allow FADT revision changes Lv Zheng
2016-08-11  9:36     ` Lv Zheng
2016-08-11 12:42     ` [Qemu-arm] " Igor Mammedov
2016-08-11 12:42       ` [Qemu-devel] " Igor Mammedov
2016-08-12  0:47       ` [Qemu-arm] " Zheng, Lv
2016-08-12  0:47         ` [Qemu-devel] " Zheng, Lv
2016-08-12  3:07         ` [Qemu-arm] " Michael S. Tsirkin
2016-08-12  3:07           ` [Qemu-devel] " Michael S. Tsirkin
2016-08-15  1:33           ` [Qemu-arm] " Zheng, Lv
2016-08-15  1:33             ` [Qemu-devel] " Zheng, Lv
2016-08-15  1:47             ` [Qemu-arm] " Michael S. Tsirkin
2016-08-15  1:47               ` [Qemu-devel] " Michael S. Tsirkin
2016-08-15  2:18               ` Zheng, Lv
2016-08-15  2:18                 ` Zheng, Lv
2016-08-15  2:23                 ` [Qemu-arm] " Michael S. Tsirkin
2016-08-15  2:23                   ` [Qemu-devel] " Michael S. Tsirkin
2016-08-15  3:18                   ` [Qemu-arm] " Zheng, Lv
2016-08-15  3:18                     ` [Qemu-devel] " Zheng, Lv
2016-08-12 14:55         ` [Qemu-arm] " Igor Mammedov
2016-08-12 14:55           ` [Qemu-devel] " Igor Mammedov
2016-08-15  4:18           ` [Qemu-arm] " Zheng, Lv
2016-08-15  4:18             ` [Qemu-devel] " Zheng, Lv
2016-08-12 14:59     ` Paolo Bonzini
2016-08-12 14:59       ` Paolo Bonzini
2016-08-15  1:42       ` [Qemu-arm] " Zheng, Lv
2016-08-15  1:42         ` [Qemu-devel] " Zheng, Lv
2016-08-17 11:42         ` [Qemu-arm] " Paolo Bonzini
2016-08-17 11:42           ` [Qemu-devel] " Paolo Bonzini

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=E1bWf5f-0007lK-Nv@eggs.gnu.org \
    --to=no-reply@patchew.org \
    --cc=famz@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=lv.zheng@intel.com \
    --cc=mst@redhat.com \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=shannon.zhao@linaro.org \
    --cc=zetalog@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.