From: John Snow <jsnow@redhat.com>
To: qemu-devel@nongnu.org
Cc: qemu-block@nongnu.org, f4bug@amsat.org
Subject: Re: [Qemu-devel] [PATCH v2 00/16] AHCI: tracing improvements
Date: Thu, 31 May 2018 19:39:12 -0400 [thread overview]
Message-ID: <81d35555-3948-a891-9dfa-effd940665a3@redhat.com> (raw)
In-Reply-To: <152780684818.339.1959711568134867768@d39dc562802a>
On 05/31/2018 06:47 PM, no-reply@patchew.org wrote:
> Hi,
>
> This series seems to have some coding style problems. See output below for
> more information:
>
> Type: series
> Message-id: 20180531222835.16558-1-jsnow@redhat.com
> Subject: [Qemu-devel] [PATCH v2 00/16] AHCI: tracing improvements
>
> === TEST SCRIPT BEGIN ===
> #!/bin/bash
>
> BASE=base
> n=1
> total=$(git log --oneline $BASE.. | wc -l)
> failed=0
>
> git config --local diff.renamelimit 0
> git config --local diff.renames True
> git config --local diff.algorithm histogram
>
> commits="$(git log --format=%H --reverse $BASE..)"
> for c in $commits; do
> echo "Checking PATCH $n/$total: $(git log -n 1 --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
> t [tag update] patchew/20180531212435.165261-1-eblake@redhat.com -> patchew/20180531212435.165261-1-eblake@redhat.com
> * [new tag] patchew/20180531222835.16558-1-jsnow@redhat.com -> patchew/20180531222835.16558-1-jsnow@redhat.com
> Switched to a new branch 'test'
> 9932482af2 ahci: make ahci_mem_write traces more descriptive
> c89f4076bd ahci: delete old host register address definitions
> 70f11b4d95 ahci: adjust ahci_mem_write to work on registers
> c13dce7973 ahci: fix spacing damage on ahci_mem_write
> fab5307968 ahci: make mem_read_32 traces more descriptive
> ace1b4ffac ahci: modify ahci_mem_read_32 to work on register numbers
> 3021a82d31 ahci: fix host register max address
> 3c4808a257 ahci: add host register enumeration
> f57758869b ahci: delete old port register address definitions
> 52d04d9b2c ahci: make port write traces more descriptive
> 08f435fad3 ahci: modify ahci_port_write to use register numbers
> 634c79d46b ahci: combine identical clauses in port write
> 50b162ae60 ahci: fix spacing damage on ahci_port_write
> 5895ec8f28 ahci: make port read traces more descriptive
> 68fd051a9a ahci: modify ahci_port_read to use register numbers
> 0478088585 ahci: add port register enumeration
>
> === OUTPUT BEGIN ===
> Checking PATCH 1/16: ahci: add port register enumeration...
> WARNING: line over 80 characters
> #71: FILE: hw/ide/ahci_internal.h:94:
> + AHCI_PORT_REG_SCR_NOTIF = 15, /* PxSNTF: SATA phy register: SNotification */
>
> total: 0 errors, 1 warnings, 72 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.
> Checking PATCH 2/16: ahci: modify ahci_port_read to use register numbers...
> Checking PATCH 3/16: ahci: make port read traces more descriptive...
> Checking PATCH 4/16: ahci: fix spacing damage on ahci_port_write...
> ERROR: spaces required around that '|' (ctx:VxV)
> #83: FILE: hw/ide/ahci.c:316:
> + (val & ~(PORT_CMD_RO_MASK|PORT_CMD_ICC_MASK));
I'll fix that in this patch.
> ^
>
> total: 1 errors, 0 warnings, 156 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.
>
> Checking PATCH 5/16: ahci: combine identical clauses in port write...
> Checking PATCH 6/16: ahci: modify ahci_port_write to use register numbers...
> Checking PATCH 7/16: ahci: make port write traces more descriptive...
> Checking PATCH 8/16: ahci: delete old port register address definitions...
> Checking PATCH 9/16: ahci: add host register enumeration...
> Checking PATCH 10/16: ahci: fix host register max address...
> Checking PATCH 11/16: ahci: modify ahci_mem_read_32 to work on register numbers...
> Checking PATCH 12/16: ahci: make mem_read_32 traces more descriptive...
> Checking PATCH 13/16: ahci: fix spacing damage on ahci_mem_write...
> Checking PATCH 14/16: ahci: adjust ahci_mem_write to work on registers...
> Checking PATCH 15/16: ahci: delete old host register address definitions...
> Checking PATCH 16/16: ahci: make ahci_mem_write traces more descriptive...
> WARNING: line over 80 characters
> #18: FILE: hw/ide/ahci.c:497:
> + qemu_log_mask(LOG_UNIMP, "Attempted write to unimplemented register:"
>
TIL that my emacs configuration considers column 80 in-bounds.
Fixed.
> total: 0 errors, 1 warnings, 35 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
>
>
> ---
> Email generated automatically by Patchew [http://patchew.org/].
> Please send your feedback to patchew-devel@redhat.com
>
You're a harsh master, patchew.
--js
next prev parent reply other threads:[~2018-05-31 23:39 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-31 22:28 [Qemu-devel] [PATCH v2 00/16] AHCI: tracing improvements John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 01/16] ahci: add port register enumeration John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 02/16] ahci: modify ahci_port_read to use register numbers John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 03/16] ahci: make port read traces more descriptive John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 04/16] ahci: fix spacing damage on ahci_port_write John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 05/16] ahci: combine identical clauses in port write John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 06/16] ahci: modify ahci_port_write to use register numbers John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 07/16] ahci: make port write traces more descriptive John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 08/16] ahci: delete old port register address definitions John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 09/16] ahci: add host register enumeration John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 10/16] ahci: fix host register max address John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 11/16] ahci: modify ahci_mem_read_32 to work on register numbers John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 12/16] ahci: make mem_read_32 traces more descriptive John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 13/16] ahci: fix spacing damage on ahci_mem_write John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 14/16] ahci: adjust ahci_mem_write to work on registers John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 15/16] ahci: delete old host register address definitions John Snow
2018-05-31 22:28 ` [Qemu-devel] [PATCH v2 16/16] ahci: make ahci_mem_write traces more descriptive John Snow
2018-05-31 22:47 ` [Qemu-devel] [PATCH v2 00/16] AHCI: tracing improvements no-reply
2018-05-31 23:39 ` John Snow [this message]
2018-05-31 22:49 ` no-reply
2018-05-31 23:48 ` John Snow
2018-05-31 23:24 ` Philippe Mathieu-Daudé
2018-05-31 23:26 ` John Snow
2018-06-01 0:01 ` John Snow
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=81d35555-3948-a891-9dfa-effd940665a3@redhat.com \
--to=jsnow@redhat.com \
--cc=f4bug@amsat.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@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).