qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Laurent Vivier <laurent@vivier.eu>,
	qemu-devel@nongnu.org,
	Richard Henderson <richard.henderson@linaro.org>
Cc: alex.bennee@linaro.org, riku.voipio@iki.fi,
	mark.cave-ayland@ilande.co.uk, atar4qemu@gmail.com
Subject: Re: [PULL 00/13] Linux user for 4.2 patches
Date: Tue, 5 Nov 2019 23:56:53 +0100	[thread overview]
Message-ID: <ad9ff245-2c5a-43c8-83d8-d39f4991d210@redhat.com> (raw)
In-Reply-To: <bb76453c-684f-eb7f-f774-f8a8029a58a1@vivier.eu>

On 11/5/19 11:14 PM, Laurent Vivier wrote:
> Richard,
> 
> could you update your series?
> 
> If you prefer to wait next release I can drop your series from the pull
> request.
> 
> Thanks,
> Laurent
> 
> Le 05/11/2019 à 23:06, no-reply@patchew.org a écrit :
>> Patchew URL: https://patchew.org/QEMU/20191105181119.26779-1-laurent@vivier.eu/
>>
>>
>>
>> Hi,
>>
>> This series seems to have some coding style problems. See output below for
>> more information:
>>
>> Subject: [PULL 00/13] Linux user for 4.2 patches
>> Type: series
>> Message-id: 20191105181119.26779-1-laurent@vivier.eu
>>
>> === 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
>>     36609b4..412fbef  master     -> master
>> Switched to a new branch 'test'
>> 965f842 linux-user/alpha: Set r20 secondary return value
>> a59ca3b linux-user/sparc: Fix cpu_clone_regs_*
>> 046ba0d linux-user: Introduce cpu_clone_regs_parent
>> 1afe1bc linux-user: Rename cpu_clone_regs to cpu_clone_regs_child
>> 748db1e linux-user/sparc64: Fix target_signal_frame
>> 2e90cc8 linux-user/sparc: Fix WREG usage in setup_frame
>> 608f997 linux-user/sparc: Use WREG_SP constant in sparc/signal.c
>> 279530b linux-user/sparc: Begin using WREG constants in sparc/signal.c
>> 3d27837 linux-user/sparc: Use WREG constants in sparc/target_cpu.h
>> b30437c target/sparc: Define an enumeration for accessing env->regwptr
>> 128b52d tests/tcg/multiarch/linux-test: Fix error check for shmat
>> e78b5ec scripts/qemu-binfmt-conf: Update for sparc64
>> 5a6b0f4 linux-user: Support for NETLINK socket options
>>
>> === OUTPUT BEGIN ===
>> 1/13 Checking commit 5a6b0f46c670 (linux-user: Support for NETLINK socket options)
>> 2/13 Checking commit e78b5ec2867e (scripts/qemu-binfmt-conf: Update for sparc64)
>> WARNING: line over 80 characters
>> #36: FILE: scripts/qemu-binfmt-conf.sh:41:
>> +sparc64_magic='\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2b'

False positive. Shouldn't we take this file out of checkpatch default list?

>>
>> ERROR: line over 90 characters
>> #37: FILE: scripts/qemu-binfmt-conf.sh:42:
>> +sparc64_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff'

Ditto.

>>
>> total: 1 errors, 1 warnings, 20 lines checked
>>
>> Patch 2/13 has style problems, please review.  If any of these errors
>> are false positives report them to the maintainer, see
>> CHECKPATCH in MAINTAINERS.
>>
>> 3/13 Checking commit 128b52d81645 (tests/tcg/multiarch/linux-test: Fix error check for shmat)
>> 4/13 Checking commit b30437c1b51f (target/sparc: Define an enumeration for accessing env->regwptr)
>> 5/13 Checking commit 3d27837139f0 (linux-user/sparc: Use WREG constants in sparc/target_cpu.h)
>> 6/13 Checking commit 279530b9caeb (linux-user/sparc: Begin using WREG constants in sparc/signal.c)
>> ERROR: spaces required around that '+' (ctx:VxV)
>> #52: FILE: linux-user/sparc/signal.c:151:
>> +        __put_user(env->regwptr[WREG_O0 + i], &si->si_regs.u_regs[i+8]);
>>                                                                      ^

True positive :/

>>
>> ERROR: spaces required around that '+' (ctx:VxV)
>> #124: FILE: linux-user/sparc/signal.c:290:
>> +        __get_user(env->regwptr[i + WREG_O0], &sf->info.si_regs.u_regs[i+8]);
>>                                                                           ^

Again.

>>
>> ERROR: spaces required around that '+' (ctx:VxV)
>> #171: FILE: linux-user/sparc/signal.c:460:
>> +    w_addr = TARGET_STACK_BIAS+env->regwptr[WREG_O6];
>>                                 ^

Again.

>>
>> ERROR: spaces required around that '+' (ctx:VxV)
>> #206: FILE: linux-user/sparc/signal.c:563:
>> +    w_addr = TARGET_STACK_BIAS+env->regwptr[WREG_O6];
>>                                 ^

Again.

>>
>> total: 4 errors, 0 warnings, 175 lines checked
>>
>> Patch 6/13 has style problems, please review.  If any of these errors
>> are false positives report them to the maintainer, see
>> CHECKPATCH in MAINTAINERS.
>>
>> 7/13 Checking commit 608f99725ea6 (linux-user/sparc: Use WREG_SP constant in sparc/signal.c)
>> 8/13 Checking commit 2e90cc889f5a (linux-user/sparc: Fix WREG usage in setup_frame)
>> 9/13 Checking commit 748db1e8856b (linux-user/sparc64: Fix target_signal_frame)
>> ERROR: space prohibited between function name and open parenthesis '('
>> #24: FILE: linux-user/sparc/signal.c:90:
>> +    uint32_t            insns[2] __attribute__ ((aligned (8)));

False positive likely?

>>
>> total: 1 errors, 0 warnings, 16 lines checked
>>
>> Patch 9/13 has style problems, please review.  If any of these errors
>> are false positives report them to the maintainer, see
>> CHECKPATCH in MAINTAINERS.
>>
>> 10/13 Checking commit 1afe1bce0919 (linux-user: Rename cpu_clone_regs to cpu_clone_regs_child)
>> 11/13 Checking commit 046ba0d62866 (linux-user: Introduce cpu_clone_regs_parent)
>> 12/13 Checking commit a59ca3b85381 (linux-user/sparc: Fix cpu_clone_regs_*)
>> 13/13 Checking commit 965f842f57f6 (linux-user/alpha: Set r20 secondary return value)
>> === OUTPUT END ===
>>
>> Test command exited with code: 1
>>
>>
>> The full log is available at
>> http://patchew.org/logs/20191105181119.26779-1-laurent@vivier.eu/testing.checkpatch/?type=message.
>> ---
>> Email generated automatically by Patchew [https://patchew.org/].
>> Please send your feedback to patchew-devel@redhat.com
>>



      reply	other threads:[~2019-11-05 22:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-05 18:11 [PULL 00/13] Linux user for 4.2 patches Laurent Vivier
2019-11-05 18:11 ` [PULL 01/13] linux-user: Support for NETLINK socket options Laurent Vivier
2019-11-05 18:11 ` [PULL 02/13] scripts/qemu-binfmt-conf: Update for sparc64 Laurent Vivier
2019-11-05 18:11 ` [PULL 03/13] tests/tcg/multiarch/linux-test: Fix error check for shmat Laurent Vivier
2019-11-05 18:11 ` [PULL 04/13] target/sparc: Define an enumeration for accessing env->regwptr Laurent Vivier
2019-11-05 18:11 ` [PULL 05/13] linux-user/sparc: Use WREG constants in sparc/target_cpu.h Laurent Vivier
2019-11-05 18:11 ` [PULL 06/13] linux-user/sparc: Begin using WREG constants in sparc/signal.c Laurent Vivier
2019-11-05 18:11 ` [PULL 07/13] linux-user/sparc: Use WREG_SP constant " Laurent Vivier
2019-11-05 18:11 ` [PULL 08/13] linux-user/sparc: Fix WREG usage in setup_frame Laurent Vivier
2019-11-05 18:11 ` [PULL 09/13] linux-user/sparc64: Fix target_signal_frame Laurent Vivier
2019-11-05 18:11 ` [PULL 10/13] linux-user: Rename cpu_clone_regs to cpu_clone_regs_child Laurent Vivier
2019-11-05 18:11 ` [PULL 11/13] linux-user: Introduce cpu_clone_regs_parent Laurent Vivier
2019-11-05 18:11 ` [PULL 12/13] linux-user/sparc: Fix cpu_clone_regs_* Laurent Vivier
2019-11-05 18:11 ` [PULL 13/13] linux-user/alpha: Set r20 secondary return value Laurent Vivier
2019-11-05 22:06 ` [PULL 00/13] Linux user for 4.2 patches no-reply
2019-11-05 22:14   ` Laurent Vivier
2019-11-05 22:56     ` Philippe Mathieu-Daudé [this message]

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=ad9ff245-2c5a-43c8-83d8-d39f4991d210@redhat.com \
    --to=philmd@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=atar4qemu@gmail.com \
    --cc=laurent@vivier.eu \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=riku.voipio@iki.fi \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).