All of lore.kernel.org
 help / color / mirror / Atom feed
From: no-reply@patchew.org
To: flus@cesar.org.br
Cc: famz@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/2] Add Atmel I2C TPM AT97SC3204T emulated device
Date: Tue, 29 Nov 2016 05:30:32 -0800 (PST)	[thread overview]
Message-ID: <148042623151.139.11399309076270775462@5b492b8a941d> (raw)
In-Reply-To: <20161123194605.94717-1-flus@cesar.org.br>

Hi,

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

Subject: [Qemu-devel] [PATCH 0/2] Add Atmel I2C TPM AT97SC3204T emulated device
Type: series
Message-id: 20161123194605.94717-1-flus@cesar.org.br

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

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

# Useful git options
git config --local diff.renamelimit 0
git config --local diff.renames True

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
Switched to a new branch 'test'
46ef6f2 tpm: Add TPM I2C Atmel frontend
24c07aa i2c: Add flag to NACK I2C transfers when busy

=== OUTPUT BEGIN ===
Checking PATCH 1/2: i2c: Add flag to NACK I2C transfers when busy...
Checking PATCH 2/2: tpm: Add TPM I2C Atmel frontend...
WARNING: line over 80 characters
#127: FILE: hw/tpm/tpm_i2c_atmel.c:83:
+static void tpm_i2c_atmel_show_buffer(const TPMSizedBuffer *sb, const char *string)

ERROR: spaces required around that '-' (ctx:VxV)
#235: FILE: hw/tpm/tpm_i2c_atmel.c:191:
+                ret, tis->loc[0].r_offset-1);
                                          ^

WARNING: line over 80 characters
#301: FILE: hw/tpm/tpm_i2c_atmel.c:257:
+        error_setg(errp, "tpm_i2c_atmel: backend driver with id %s could not be "

WARNING: line over 80 characters
#309: FILE: hw/tpm/tpm_i2c_atmel.c:265:
+        error_setg(errp, "tpm_i2c_atmel: backend driver with id %s could not be "

WARNING: line over 80 characters
#315: FILE: hw/tpm/tpm_i2c_atmel.c:271:
+        error_setg(errp, "tpm_i2c_atmel: IRQ %d for TPM TIS is outside valid range "

total: 1 errors, 4 warnings, 372 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@freelists.org

  parent reply	other threads:[~2016-11-29 13:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-23 19:46 [Qemu-devel] [PATCH 0/2] Add Atmel I2C TPM AT97SC3204T emulated device Fabio Urquiza
2016-11-23 19:46 ` [Qemu-devel] [PATCH 1/2] i2c: Add flag to NACK I2C transfers when busy Fabio Urquiza
2016-11-23 19:46 ` [Qemu-devel] [PATCH 2/2] tpm: Add TPM I2C Atmel frontend Fabio Urquiza
2016-11-29 13:30 ` no-reply [this message]
2016-11-29 19:30 ` [Qemu-devel] [PATCH v1 0/2] Add Atmel I2C TPM AT97SC3204T emulated device Fabio Urquiza
2016-11-29 19:30   ` [Qemu-devel] [PATCH v1 1/2] i2c: Add flag to NACK I2C transfers when busy Fabio Urquiza
2016-11-29 19:30   ` [Qemu-devel] [PATCH v1 2/2] tpm: Add TPM I2C Atmel frontend Fabio Urquiza
2016-12-16 17:35   ` [Qemu-devel] [PATCH v1 0/2] Add Atmel I2C TPM AT97SC3204T emulated device Peter Maydell
2016-12-19  1:47     ` Alastair D'Silva
2016-12-19 13:55       ` Corey Minyard
2016-12-19 15:31         ` Peter Maydell
2016-12-19 16:20           ` Corey Minyard
2016-12-20 21:26           ` [Qemu-devel] [PATCH] i2c: Allow I2C devices to NAK start events minyard
2017-01-05 15:42             ` Peter Maydell

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=148042623151.139.11399309076270775462@5b492b8a941d \
    --to=no-reply@patchew.org \
    --cc=famz@redhat.com \
    --cc=flus@cesar.org.br \
    --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 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.