Patchew URL: https://patchew.org/QEMU/20210531055019.10149-1-yamamoto@midokura.com/
Hi,
This series seems to have some coding style problems. See output below for
more information:
Type: series
Message-id: 20210531055019.10149-1-yamamoto@midokura.com
Subject: [PATCH v2 00/11] linux-user changes to run docker
=== 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'
9266033 linux-user: always assume preserve_argv0 for now [!MERGE]
c47e5f7 linux-user: a crude hack for libcontainer (CLONE_PARENT) [!MERGE]
3918e1b linux-user: Make the qemu detection for /proc/$pid/exe a bit conservative
c085fdc linux-user: Implement exec of /proc/$pid/exe of qemu process
1183bf9 linux-user: simplify is_proc_myself
3d2e26d linux-user: add get_exe_path
4468f68 linux-user: Implement pivot_root
42242cc linux-user: make exec_path realpath
057e7e4 linux-user: dup the execfd on start up
187d6d2 linux-user: Fix the execfd case of /proc/self/exe open
02ef5e5 linux-user: handle /proc/self/exe for execve
=== OUTPUT BEGIN ===
1/11 Checking commit 02ef5e5d9e50 (linux-user: handle /proc/self/exe for execve)
2/11 Checking commit 187d6d29d488 (linux-user: Fix the execfd case of /proc/self/exe open)
3/11 Checking commit 057e7e49d4fe (linux-user: dup the execfd on start up)
4/11 Checking commit 42242cc0513b (linux-user: make exec_path realpath)
5/11 Checking commit 4468f68480f3 (linux-user: Implement pivot_root)
WARNING: architecture specific defines should be avoided
#23: FILE: linux-user/syscall.c:8257:
+#if defined(TARGET_NR_pivot_root) && defined(__NR_pivot_root)
total: 0 errors, 1 warnings, 33 lines checked
Patch 5/11 has style problems, please review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
6/11 Checking commit 3d2e26daa82e (linux-user: add get_exe_path)
7/11 Checking commit 1183bf9702cb (linux-user: simplify is_proc_myself)
8/11 Checking commit c085fdc89c7c (linux-user: Implement exec of /proc/$pid/exe of qemu process)
9/11 Checking commit 3918e1b7eee5 (linux-user: Make the qemu detection for /proc/$pid/exe a bit conservative)
10/11 Checking commit c47e5f77ef07 (linux-user: a crude hack for libcontainer (CLONE_PARENT) [!MERGE])
11/11 Checking commit 9266033e47cb (linux-user: always assume preserve_argv0 for now [!MERGE])
ERROR: if this code is redundant consider removing it
#26: FILE: linux-user/main.c:729:
+#if 0
total: 1 errors, 0 warnings, 38 lines checked
Patch 11/11 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
The full log is available at
http://patchew.org/logs/20210531055019.10149-1-yamamoto@midokura.com/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com