All of lore.kernel.org
 help / color / mirror / Atom feed
From: no-reply@patchew.org
To: jandryuk@gmail.com
Cc: samuel.thibault@ens-lyon.org, jandryuk@gmail.com,
	kraxel@redhat.com, qemu-devel@nongnu.org
Subject: Re: [PATCH 0/4] usb-serial: xHCI and timeout fixes
Date: Thu, 12 Mar 2020 06:14:32 -0700 (PDT)	[thread overview]
Message-ID: <158401887145.15607.4367755462902255111@39012742ff91> (raw)
In-Reply-To: <20200312125524.7812-1-jandryuk@gmail.com>

Patchew URL: https://patchew.org/QEMU/20200312125524.7812-1-jandryuk@gmail.com/



Hi,

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

Subject: [PATCH 0/4] usb-serial: xHCI and timeout fixes
Message-id: 20200312125524.7812-1-jandryuk@gmail.com
Type: series

=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
Switched to a new branch 'test'
657eee3 usb-serial: Fix timeout closing the device
299ce37 usb-serial: Increase receive buffer to 496
80411e3 usb-serial: chunk data to wMaxPacketSize
1d93326 usb-serial: Move USB_TOKEN_IN into a helper function

=== OUTPUT BEGIN ===
1/4 Checking commit 1d9332671a0d (usb-serial: Move USB_TOKEN_IN into a helper function)
ERROR: braces {} are necessary for all arms of this statement
#44: FILE: hw/usb/dev-serial.c:384:
+    if (len > s->recv_used)
[...]

ERROR: braces {} are necessary for all arms of this statement
#50: FILE: hw/usb/dev-serial.c:390:
+    if (first_len > len)
[...]

ERROR: braces {} are necessary for all arms of this statement
#54: FILE: hw/usb/dev-serial.c:394:
+    if (len > first_len)
[...]

total: 3 errors, 0 warnings, 94 lines checked

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

2/4 Checking commit 80411e3c7e85 (usb-serial: chunk data to wMaxPacketSize)
ERROR: braces {} are necessary for all arms of this statement
#80: FILE: hw/usb/dev-serial.c:395:
+        if (len > s->recv_used)
[...]

ERROR: braces {} are necessary for all arms of this statement
#84: FILE: hw/usb/dev-serial.c:399:
+        if (first_len > len)
[...]

ERROR: braces {} are necessary for all arms of this statement
#88: FILE: hw/usb/dev-serial.c:403:
+        if (len > first_len)
[...]

total: 3 errors, 0 warnings, 63 lines checked

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

3/4 Checking commit 299ce37a1f63 (usb-serial: Increase receive buffer to 496)
4/4 Checking commit 657eee3ce83f (usb-serial: Fix timeout closing the device)
=== OUTPUT END ===

Test command exited with code: 1


The full log is available at
http://patchew.org/logs/20200312125524.7812-1-jandryuk@gmail.com/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com

  parent reply	other threads:[~2020-03-12 13:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-12 12:55 [PATCH 0/4] usb-serial: xHCI and timeout fixes Jason Andryuk
2020-03-12 12:55 ` [PATCH 1/4] usb-serial: Move USB_TOKEN_IN into a helper function Jason Andryuk
2020-03-13 23:56   ` Samuel Thibault
2020-03-16 11:40   ` Gerd Hoffmann
2020-03-16 12:05     ` Jason Andryuk
2020-03-12 12:55 ` [PATCH 2/4] usb-serial: chunk data to wMaxPacketSize Jason Andryuk
2020-03-14  0:07   ` Samuel Thibault
2020-03-12 12:55 ` [PATCH 3/4] usb-serial: Increase receive buffer to 496 Jason Andryuk
2020-03-14 21:40   ` Samuel Thibault
2020-03-12 12:55 ` [PATCH 4/4] usb-serial: Fix timeout closing the device Jason Andryuk
2020-03-14 21:41   ` Samuel Thibault
2020-03-12 13:14 ` no-reply [this message]
2020-03-12 13:31 ` [PATCH 0/4] usb-serial: xHCI and timeout fixes no-reply

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=158401887145.15607.4367755462902255111@39012742ff91 \
    --to=no-reply@patchew.org \
    --cc=jandryuk@gmail.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=samuel.thibault@ens-lyon.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.