[{"id":1772177,"web_url":"http://patchwork.ozlabs.org/comment/1772177/","msgid":"<150593755361.27.12221201907938841467@d650bbe78fe3>","list_archive_url":null,"date":"2017-09-20T19:59:14","subject":"Re: [Qemu-devel] [PATCH v4 0/6] QOMify MIPS cpu","submitter":{"id":69632,"url":"http://patchwork.ozlabs.org/api/people/69632/","name":null,"email":"no-reply@patchew.org"},"content":"Hi,\n\nThis series seems to have some coding style problems. See output below for\nmore information:\n\nSubject: [Qemu-devel] [PATCH v4 0/6] QOMify MIPS cpu\nMessage-id: 20170920194934.23071-1-f4bug@amsat.org\nType: series\n\n=== TEST SCRIPT BEGIN ===\n#!/bin/bash\n\nBASE=base\nn=1\ntotal=$(git log --oneline $BASE.. | wc -l)\nfailed=0\n\ngit config --local diff.renamelimit 0\ngit config --local diff.renames True\n\ncommits=\"$(git log --format=%H --reverse $BASE..)\"\nfor c in $commits; do\n    echo \"Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)...\"\n    if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then\n        failed=1\n        echo\n    fi\n    n=$((n+1))\ndone\n\nexit $failed\n=== TEST SCRIPT END ===\n\nUpdating 3c8cf5a9c21ff8782164d1def7f44bd888713384\nFrom https://github.com/patchew-project/qemu\n t [tag update]            patchew/20170919201910.25656-1-eblake@redhat.com -> patchew/20170919201910.25656-1-eblake@redhat.com\n t [tag update]            patchew/20170920194144.20101-1-jsnow@redhat.com -> patchew/20170920194144.20101-1-jsnow@redhat.com\n * [new tag]               patchew/20170920194934.23071-1-f4bug@amsat.org -> patchew/20170920194934.23071-1-f4bug@amsat.org\nSwitched to a new branch 'test'\nb699ac6511 mips: replace cpu_mips_init() with cpu_generic_init()\n5cc6cd0c43 mips: MIPSCPU model subclasses\n37ab3cc153 mips: call cpu_mips_realize_env() from mips_cpu_realizefn()\nf72459c7e1 mips: split cpu_mips_realize_env() out of cpu_mips_init()\n08d47c8c54 mips: introduce internal.h and cleanup cpu.h\ne5c334b86a mips: move hw/mips/cputimer.c to target/mips/\n\n=== OUTPUT BEGIN ===\nChecking PATCH 1/6: mips: move hw/mips/cputimer.c to target/mips/...\nChecking PATCH 2/6: mips: introduce internal.h and cleanup cpu.h...\nERROR: space prohibited after that '&' (ctx:WxW)\n#728: FILE: target/mips/internal.h:230:\n+    if ((env->CP0_VPControl >> CP0VPCtl_DIS) & 1) {\n                                              ^\n\nERROR: space prohibited after that '&' (ctx:WxW)\n#736: FILE: target/mips/internal.h:238:\n+            ((other_cpu->env.CP0_VPControl >> CP0VPCtl_DIS) & 1)) {\n                                                             ^\n\nERROR: space prohibited after that '&' (ctx:WxW)\n#756: FILE: target/mips/internal.h:258:\n+        env->hflags |= (env->CP0_Status >> CP0St_KSU) & MIPS_HFLAG_KSU;\n                                                       ^\n\ntotal: 3 errors, 0 warnings, 842 lines checked\n\nYour patch has style problems, please review.  If any of these errors\nare false positives report them to the maintainer, see\nCHECKPATCH in MAINTAINERS.\n\nChecking PATCH 3/6: mips: split cpu_mips_realize_env() out of cpu_mips_init()...\nChecking PATCH 4/6: mips: call cpu_mips_realize_env() from mips_cpu_realizefn()...\nChecking PATCH 5/6: mips: MIPSCPU model subclasses...\nChecking PATCH 6/6: mips: replace cpu_mips_init() with cpu_generic_init()...\n=== OUTPUT END ===\n\nTest command exited with code: 1\n\n\n---\nEmail generated automatically by Patchew [http://patchew.org/].\nPlease send your feedback to patchew-devel@freelists.org","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xy9Zr0hXfz9sPm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 06:00:18 +1000 (AEST)","from localhost ([::1]:50419 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dulAN-0001xn-CY\n\tfor incoming@patchwork.ozlabs.org; Wed, 20 Sep 2017 16:00:15 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:42936)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <no-reply@patchew.org>) id 1dulA5-0001xR-1r\n\tfor qemu-devel@nongnu.org; Wed, 20 Sep 2017 15:59:58 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <no-reply@patchew.org>) id 1dulA1-0001RL-Vs\n\tfor qemu-devel@nongnu.org; Wed, 20 Sep 2017 15:59:57 -0400","from sender-of-o52.zoho.com ([135.84.80.217]:21317)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <no-reply@patchew.org>)\n\tid 1dulA1-0001Pf-PP\n\tfor qemu-devel@nongnu.org; Wed, 20 Sep 2017 15:59:53 -0400","from [172.17.0.2] (23.253.156.214 [23.253.156.214]) by\n\tmx.zohomail.com with SMTPS id 1505937554387513.2397606059003;\n\tWed, 20 Sep 2017 12:59:14 -0700 (PDT)"],"Resent-Date":"Wed, 20 Sep 2017 15:59:57 -0400","Resent-Message-Id":"<E1dulA1-0001RL-Vs@eggs.gnu.org>","In-Reply-To":"<20170920194934.23071-1-f4bug@amsat.org>","Message-ID":"<150593755361.27.12221201907938841467@d650bbe78fe3>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Resent-From":"","From":"no-reply@patchew.org","To":"f4bug@amsat.org","Date":"Wed, 20 Sep 2017 12:59:14 -0700 (PDT)","X-ZohoMailClient":"External","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 3.x [fuzzy]","X-Received-From":"135.84.80.217","Subject":"Re: [Qemu-devel] [PATCH v4 0/6] QOMify MIPS cpu","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Reply-To":"qemu-devel@nongnu.org","Cc":"thuth@redhat.com, james.hogan@imgtec.com, famz@redhat.com,\n\tehabkost@redhat.com, f4bug@amsat.org, qemu-devel@nongnu.org,\n\tmarcel@redhat.com, hpoussin@reactos.org, yongbok.kim@imgtec.com,\n\timammedo@redhat.com, aurelien@aurel32.net","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}}]