[Qemu-devel] [PULL 0/9] slirp updates

Samuel Thibault posted 9 patches 6 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170429164750.17414-1-samuel.thibault@ens-lyon.org
Test checkpatch failed
Test docker passed
Test s390x passed
There is a newer version of this series
net/slirp.c     |  32 ++--
slirp/ip_icmp.c |   5 +-
slirp/sbuf.h    |   4 +-
slirp/slirp.c   | 494 +++++++++++++++++++++++++++++++-------------------------
slirp/socket.h  |  24 ++-
slirp/tcp_var.h |   6 +-
slirp/tftp.c    |   2 +-
7 files changed, 310 insertions(+), 257 deletions(-)
[Qemu-devel] [PULL 0/9] slirp updates
Posted by Samuel Thibault 6 years, 11 months ago
The following changes since commit 81b2d5ceb0cfb4cdc2163492e3169ed714b0cda9:

  Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20170426' into staging (2017-04-26 20:50:49 +0100)

are available in the git repository at:

  http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault

for you to fetch changes up to eb5d4f5329df83ea15244b47f7fbca21adaae41b:

  slirp: VMStatify remaining except for loop (2017-04-29 18:44:16 +0200)

----------------------------------------------------------------
slirp updates

----------------------------------------------------------------
Dr. David Alan Gilbert (6):
      slirp/smb: Replace constant strings by glib string
      slirp: VMState conversion; tcpcb
      slirp: VMStatify sbuf
      slirp: Common lhost/fhost union
      slirp: VMStatify socket level
      slirp: VMStatify remaining except for loop

Marc-André Lureau (1):
      slirp: tftp, copy sockaddr_size

Samuel Thibault (1):
      slirp: fix pinging the virtual ipv4 DNS server

Vincent Bernat (1):
      slirp: allow host port 0 for hostfwd

 net/slirp.c     |  32 ++--
 slirp/ip_icmp.c |   5 +-
 slirp/sbuf.h    |   4 +-
 slirp/slirp.c   | 494 +++++++++++++++++++++++++++++++-------------------------
 slirp/socket.h  |  24 ++-
 slirp/tcp_var.h |   6 +-
 slirp/tftp.c    |   2 +-
 7 files changed, 310 insertions(+), 257 deletions(-)

Re: [Qemu-devel] [PULL 0/9] slirp updates
Posted by no-reply@patchew.org 6 years, 11 months ago
Hi,

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

Subject: [Qemu-devel] [PULL 0/9] slirp updates
Message-id: 20170429164750.17414-1-samuel.thibault@ens-lyon.org
Type: series

=== 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'
9c3a55e slirp: VMStatify remaining except for loop
a3f1ecc slirp: VMStatify socket level
ca57f56 slirp: Common lhost/fhost union
87aa9e5 slirp: VMStatify sbuf
52b7590 slirp: VMState conversion; tcpcb
3ae6fb2 slirp: fix pinging the virtual ipv4 DNS server
81e0637 slirp: tftp, copy sockaddr_size
a60efbb slirp/smb: Replace constant strings by glib string
14d0639 slirp: allow host port 0 for hostfwd

=== OUTPUT BEGIN ===
Checking PATCH 1/9: slirp: allow host port 0 for hostfwd...
Checking PATCH 2/9: slirp/smb: Replace constant strings by glib string...
Checking PATCH 3/9: slirp: tftp, copy sockaddr_size...
Checking PATCH 4/9: slirp: fix pinging the virtual ipv4 DNS server...
Checking PATCH 5/9: slirp: VMState conversion; tcpcb...
ERROR: code indent should never use tabs
#212: FILE: slirp/tcp_var.h:51:
+^Iuint8_t t_force;^I^I/* 1 if forcing out a byte */$

ERROR: code indent should never use tabs
#222: FILE: slirp/tcp_var.h:112:
+^Iuint8_t^It_oobflags;^I^I/* have some */$

ERROR: code indent should never use tabs
#223: FILE: slirp/tcp_var.h:113:
+^Iuint8_t^It_iobc;^I^I^I/* input character */$

total: 3 errors, 0 warnings, 195 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 6/9: slirp: VMStatify sbuf...
ERROR: code indent should never use tabs
#26: FILE: slirp/sbuf.h:15:
+^Iuint32_t sb_cc;^I^I/* actual chars in buffer */$

ERROR: code indent should never use tabs
#27: FILE: slirp/sbuf.h:16:
+^Iuint32_t sb_datalen;^I/* Length of data  */$

total: 2 errors, 0 warnings, 155 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 7/9: slirp: Common lhost/fhost union...
Checking PATCH 8/9: slirp: VMStatify socket level...
ERROR: if this code is redundant consider removing it
#149: FILE: slirp/slirp.c:1356:
+#if 0

total: 1 errors, 0 warnings, 269 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 9/9: slirp: VMStatify remaining except for loop...
=== 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
Re: [Qemu-devel] [PULL 0/9] slirp updates
Posted by Stefan Hajnoczi 6 years, 11 months ago
On Sat, Apr 29, 2017 at 06:47:41PM +0200, Samuel Thibault wrote:
> The following changes since commit 81b2d5ceb0cfb4cdc2163492e3169ed714b0cda9:
> 
>   Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20170426' into staging (2017-04-26 20:50:49 +0100)
> 
> are available in the git repository at:
> 
>   http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
> 
> for you to fetch changes up to eb5d4f5329df83ea15244b47f7fbca21adaae41b:
> 
>   slirp: VMStatify remaining except for loop (2017-04-29 18:44:16 +0200)
> 
> ----------------------------------------------------------------
> slirp updates
> 
> ----------------------------------------------------------------
> Dr. David Alan Gilbert (6):
>       slirp/smb: Replace constant strings by glib string
>       slirp: VMState conversion; tcpcb
>       slirp: VMStatify sbuf
>       slirp: Common lhost/fhost union
>       slirp: VMStatify socket level
>       slirp: VMStatify remaining except for loop
> 
> Marc-André Lureau (1):
>       slirp: tftp, copy sockaddr_size
> 
> Samuel Thibault (1):
>       slirp: fix pinging the virtual ipv4 DNS server
> 
> Vincent Bernat (1):
>       slirp: allow host port 0 for hostfwd
> 
>  net/slirp.c     |  32 ++--
>  slirp/ip_icmp.c |   5 +-
>  slirp/sbuf.h    |   4 +-
>  slirp/slirp.c   | 494 +++++++++++++++++++++++++++++++-------------------------
>  slirp/socket.h  |  24 ++-
>  slirp/tcp_var.h |   6 +-
>  slirp/tftp.c    |   2 +-
>  7 files changed, 310 insertions(+), 257 deletions(-)
> 

Thanks, applied to my staging tree:
https://github.com/stefanha/qemu/commits/staging

Stefan