qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: no-reply@patchew.org
To: peterx@redhat.com
Cc: famz@redhat.com, qemu-devel@nongnu.org,
	peter.maydell@linaro.orgfamz@redhat.com, armbru@redhat.com,
	pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH 0/2] error-report: introduce error_report_exit()
Date: Thu, 11 Aug 2016 00:50:56 -0700 (PDT)	[thread overview]
Message-ID: <20160811075046.482798.37147@ex-std-node742.prod.rhcloud.com> (raw)
In-Reply-To: <1470901038-9409-1-git-send-email-peterx@redhat.com>

Hi,

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

Subject: [Qemu-devel] [PATCH 0/2] error-report: introduce error_report_exit()
Message-id: 1470901038-9409-1-git-send-email-peterx@redhat.com
Type: series

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

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

commits="$(git log --format=%H --reverse $BASE..)"
for c in $commits; do
    echo "Checking PATCH $n/$total: $(git show --no-patch --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
 * [new tag]         patchew/1470901038-9409-1-git-send-email-peterx@redhat.com -> patchew/1470901038-9409-1-git-send-email-peterx@redhat.com
Switched to a new branch 'test'
8ca226c error-report: leveraging error_report_exit()
dccdb8b error-report: provide error_report_exit()

=== OUTPUT BEGIN ===
Checking PATCH 1/2: error-report: provide error_report_exit()...
Checking PATCH 2/2: error-report: leveraging error_report_exit()...
WARNING: line over 80 characters
#335: FILE: hw/arm/sabrelite.c:53:
+        error_report_exit("RAM size " RAM_ADDR_FMT " above max supported (%08x)",

WARNING: line over 80 characters
#475: FILE: hw/arm/virt.c:1199:
+            error_report_exit("Unable to determine GIC version supported by host");

WARNING: line over 80 characters
#515: FILE: hw/arm/virt.c:1247:
+            error_report_exit("mach-virt: KVM does not support Security extensions");

WARNING: line over 80 characters
#662: FILE: hw/core/platform-bus.c:157:
+        error_report_exit("Platform Bus: Can not fit MMIO region of size %" PRIx64,

WARNING: line over 80 characters
#757: FILE: hw/i386/pc.c:1424:
+            error_report_exit("unsupported amount of maximum memory: " RAM_ADDR_FMT,

WARNING: line over 80 characters
#768: FILE: hw/i386/pc.c:2089:
+        error_report_exit("System Management Mode not supported by this hypervisor.");

ERROR: line over 90 characters
#845: FILE: hw/intc/xics_kvm.c:68:
+        error_report_exit("Unable to retrieve KVM interrupt controller state" " for CPU %ld: %s",

ERROR: line over 90 characters
#857: FILE: hw/intc/xics_kvm.c:164:
+            error_report_exit("Unable to retrieve KVM interrupt controller state" " for IRQ %d: %s",

WARNING: line over 80 characters
#1049: FILE: hw/net/virtio-net.c:1136:
+            error_report_exit("virtio-net receive queue contains no in buffers");

WARNING: line over 80 characters
#1207: FILE: hw/ppc/mac_oldworld.c:250:
+            error_report_exit("Bus model not supported on OldWorld Mac machine");

WARNING: line over 80 characters
#1394: FILE: hw/ppc/spapr.c:1786:
+        error_report_exit("Numa node 0 has to span the RMA (%#08" HWADDR_PRIx ")",

ERROR: line over 90 characters
#1427: FILE: hw/ppc/spapr.c:1878:
+            error_report_exit("Specified number of memory slots %" PRIu64 " exceeds max supported %d",

ERROR: line over 90 characters
#1469: FILE: hw/ppc/spapr.c:1975:
+        error_report_exit("pSeries SLOF firmware requires >= %ldM guest RMA (Real Mode Area memory)",

ERROR: line over 90 characters
#1550: FILE: hw/scsi/vhost-scsi.c:174:
+        error_report_exit("vhost-scsi does not support changing the sense data and CDB sizes");

WARNING: line over 80 characters
#1598: FILE: hw/scsi/virtio-scsi.c:625:
+        error_report_exit("bad data written to virtio-scsi configuration space");

WARNING: line over 80 characters
#1667: FILE: hw/smbios/smbios.c:915:
+            error_report_exit("can't load type %d struct, fields already specified!",

WARNING: line over 80 characters
#1715: FILE: hw/smbios/smbios.c:1039:
+            error_report_exit("Don't know how to build fields for SMBIOS type %ld",

WARNING: line over 80 characters
#1911: FILE: hw/virtio/virtio.c:463:
+            error_report_exit("virtio: too many write descriptors in indirect table");

ERROR: line over 90 characters
#2097: FILE: qemu-img.c:2418:
+            error_report_exit("File contains external, encrypted or compressed clusters.");

WARNING: line over 80 characters
#2252: FILE: qemu-nbd.c:594:
+                error_report_exit("setting detect-zeroes to unmap is not allowed "

WARNING: line over 80 characters
#2318: FILE: qemu-nbd.c:656:
+                error_report_exit("Shared device number must be greater than 0");

WARNING: line over 80 characters
#2641: FILE: target-ppc/kvm.c:2065:
+        error_report_exit("This vCPU type or KVM version does not support PAPR");

WARNING: line over 80 characters
#2666: FILE: target-s390x/cpu.c:403:
+        error_report_exit("Requested CPU state is not a valid S390 CPU state: %u",

WARNING: line over 80 characters
#2692: FILE: target-s390x/kvm.c:2183:
+        error_report_exit("Requested CPU state is not a valid S390 CPU state: %u",

WARNING: line over 80 characters
#2832: FILE: ui/spice-core.c:829:
+            error_report_exit("Failed to initialize EGL render node for SPICE GL");

WARNING: line over 80 characters
#3211: FILE: vl.c:3187:
+                    error_report_exit("only 90, 180, 270 deg rotation is available");

WARNING: line over 80 characters
#3323: FILE: vl.c:3681:
+                    error_report_exit("failed to parse UUID string: wrong format");

WARNING: line over 80 characters
#3352: FILE: vl.c:3722:
+                            error_report_exit("unsupported semihosting-config %s",

total: 6 errors, 22 warnings, 3019 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-devel@freelists.org

      parent reply	other threads:[~2016-08-11  7:51 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-11  7:37 [Qemu-devel] [PATCH 0/2] error-report: introduce error_report_exit() Peter Xu
2016-08-11  7:37 ` [Qemu-devel] [PATCH 1/2] error-report: provide error_report_exit() Peter Xu
2016-08-16 11:05   ` Markus Armbruster
2016-08-16 11:53     ` Fam Zheng
2016-08-16 12:17       ` Peter Xu
2016-08-16 12:19         ` Fam Zheng
2016-08-16 14:00           ` Peter Xu
2016-08-16 14:01             ` Fam Zheng
2016-08-16 14:45             ` Markus Armbruster
2016-08-17  6:47               ` Peter Xu
2016-08-17  7:33                 ` Markus Armbruster
2016-08-17  7:38                   ` Peter Xu
2016-08-17  8:17         ` Peter Xu
2016-08-17  9:26           ` Markus Armbruster
2016-08-17  9:32             ` Peter Xu
2016-08-11  7:37 ` [Qemu-devel] [PATCH 2/2] error-report: leveraging error_report_exit() Peter Xu
2016-08-11  7:55   ` [Qemu-devel] [PATCH v2] " Peter Xu
2016-08-11  8:01     ` no-reply
2016-08-11  8:47       ` Peter Xu
2016-08-11  8:45         ` Fam Zheng
2016-08-11  8:58           ` Peter Xu
2016-08-11  7:50 ` no-reply [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=20160811075046.482798.37147@ex-std-node742.prod.rhcloud.com \
    --to=no-reply@patchew.org \
    --cc=famz@redhat.com \
    --cc=peter.maydell@linaro.orgfamz \
    --cc=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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).