Hi,

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

Type: series
Message-id: 20180128221510.13722-1-richard.hender...@linaro.org
Subject: [Qemu-devel] [PATCH] linux-user: Use *at functions to implement 
interp_prefix

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

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

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
From https://github.com/patchew-project/qemu
 t [tag update]            
patchew/1516620999-25669-1-git-send-email-wei.w.w...@intel.com -> 
patchew/1516620999-25669-1-git-send-email-wei.w.w...@intel.com
 t [tag update]            patchew/20171215171655.7818-1-dgilb...@redhat.com -> 
patchew/20171215171655.7818-1-dgilb...@redhat.com
 t [tag update]            patchew/20180124130126.20871-1-f4...@amsat.org -> 
patchew/20180124130126.20871-1-f4...@amsat.org
 * [new tag]               
patchew/20180128221510.13722-1-richard.hender...@linaro.org -> 
patchew/20180128221510.13722-1-richard.hender...@linaro.org
Switched to a new branch 'test'
df5366a6ba linux-user: Use *at functions to implement interp_prefix

=== OUTPUT BEGIN ===
Checking PATCH 1/1: linux-user: Use *at functions to implement interp_prefix...
ERROR: do not use assignment in if condition
#189: FILE: linux-user/syscall.c:8372:
+            if (!(fn = lock_user_string(arg2))) {

ERROR: do not use assignment in if condition
#207: FILE: linux-user/syscall.c:8393:
+        if (!(fn = lock_user_string(arg1))) {

ERROR: do not use assignment in if condition
#222: FILE: linux-user/syscall.c:8405:
+        if (!(fn = lock_user_string(arg2))) {

ERROR: do not use assignment in if condition
#303: FILE: linux-user/syscall.c:9808:
+        if (!(fn = lock_user_string(arg1))) {

ERROR: do not use assignment in if condition
#318: FILE: linux-user/syscall.c:9820:
+        if (!(fn = lock_user_string(arg1))) {

ERROR: do not use assignment in if condition
#336: FILE: linux-user/syscall.c:10922:
+        if (!(fn = lock_user_string(arg1))) {

ERROR: do not use assignment in if condition
#353: FILE: linux-user/syscall.c:10936:
+        if (!(fn = lock_user_string(arg1))) {

ERROR: do not use assignment in if condition
#371: FILE: linux-user/syscall.c:10962:
+        if (!(fn = lock_user_string(arg2))) {

ERROR: do not use assignment in if condition
#390: FILE: linux-user/syscall.c:11966:
+                if (!(fn = lock_user_string(arg2))) {

total: 9 errors, 0 warnings, 349 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-de...@freelists.org

Reply via email to