qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/2] Support for AF_UNIX -netdev socket and a small fix


From: no-reply
Subject: Re: [PATCH 0/2] Support for AF_UNIX -netdev socket and a small fix
Date: Fri, 23 Apr 2021 08:39:47 -0700 (PDT)

Patchew URL: cover.1619190878.git.sbrivio@redhat.com/">https://patchew.org/QEMU/cover.1619190878.git.sbrivio@redhat.com/



Hi,

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

Type: series
Message-id: cover.1619190878.git.sbrivio@redhat.com
Subject: [PATCH 0/2] Support for AF_UNIX -netdev socket and a small fix

=== 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
From https://github.com/patchew-project/qemu
 - [tag update]      patchew/20210421122624.12292-1-david@redhat.com -> 
patchew/20210421122624.12292-1-david@redhat.com
 - [tag update]      patchew/20210422164344.283389-1-kwolf@redhat.com -> 
patchew/20210422164344.283389-1-kwolf@redhat.com
 - [tag update]      
patchew/20210422230227.314751-1-richard.henderson@linaro.org -> 
patchew/20210422230227.314751-1-richard.henderson@linaro.org
 - [tag update]      patchew/20210423142440.582188-1-thuth@redhat.com -> 
patchew/20210423142440.582188-1-thuth@redhat.com
 * [new tag]         patchew/cover.1619190878.git.sbrivio@redhat.com -> 
patchew/cover.1619190878.git.sbrivio@redhat.com
Switched to a new branch 'test'
8eacf39 net: Don't ignore EINVAL on netdev socket connection
17c0b6e net: Allow also UNIX domain sockets to be used as -netdev socket

=== OUTPUT BEGIN ===
1/2 Checking commit 17c0b6ec8d6b (net: Allow also UNIX domain sockets to be 
used as -netdev socket)
ERROR: braces {} are necessary for all arms of this statement
#38: FILE: net/socket.c:523:
+        if (parse_host_port(saddr_in, host_str, errp) < 0)
[...]

ERROR: braces {} are necessary for all arms of this statement
#74: FILE: net/socket.c:557:
+    if (pf == PF_INET)
[...]

ERROR: braces {} are necessary for all arms of this statement
#109: FILE: net/socket.c:606:
+        if (parse_host_port(saddr_in, host_str, errp) < 0)
[...]

total: 3 errors, 0 warnings, 163 lines checked

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

2/2 Checking commit 8eacf3917406 (net: Don't ignore EINVAL on netdev socket 
connection)
=== OUTPUT END ===

Test command exited with code: 1


The full log is available at
cover.1619190878.git.sbrivio@redhat.com/testing.checkpatch/?type=message">http://patchew.org/logs/cover.1619190878.git.sbrivio@redhat.com/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]