qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: qemu-devel@nongnu.org
Cc: aik@ozlabs.ru, famz@redhat.com, f4bug@amsat.org,
	peterx@redhat.com, borntraeger@de.ibm.com,
	alex.williamson@redhat.com, qemu-ppc@nongnu.org,
	cornelia.huck@de.ibm.com, pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH qemu v8 0/2] memory/iommu: QOM'fy IOMMU MemoryRegion
Date: Wed, 14 Jun 2017 16:27:31 +0800	[thread overview]
Message-ID: <20170614082731.GI13420@umbus> (raw)
In-Reply-To: <149742316109.876.1308050750965482811@4a9a010726c0>

[-- Attachment #1: Type: text/plain, Size: 2033 bytes --]

On Tue, Jun 13, 2017 at 11:52:41PM -0700, no-reply@patchew.org wrote:
> Hi,
> 
> This series seems to have some coding style problems. See output below for
> more information:
> 
> Subject: [Qemu-devel] [PATCH qemu v8 0/2] memory/iommu: QOM'fy IOMMU MemoryRegion
> Message-id: 20170614063607.47863-1-aik@ozlabs.ru
> Type: series
> 
> === 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
>  - [tag update]      patchew/20170613140358.81651-1-vsementsov@virtuozzo.com -> patchew/20170613140358.81651-1-vsementsov@virtuozzo.com
>  * [new tag]         patchew/20170614064452.23167-1-sjitindarsingh@gmail.com -> patchew/20170614064452.23167-1-sjitindarsingh@gmail.com
> Switched to a new branch 'test'
> 3d08aca memory/iommu: introduce IOMMUMemoryRegionClass
> d1443b0 memory/iommu: QOM'fy IOMMU MemoryRegion
> 
> === OUTPUT BEGIN ===
> Checking PATCH 1/2: memory/iommu: QOM'fy IOMMU MemoryRegion...
> ERROR: spaces required around that '*' (ctx:WxO)
> #129: FILE: hw/dma/rc4030.c:720:
> +DeviceState *rc4030_init(rc4030_dma **dmas, IOMMUMemoryRegion **dma_mr)
>                                      ^

False positive.  checkpatch thinks this is a multiplicatin rather
thana pointer designation.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2017-06-14  8:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-14  6:36 [Qemu-devel] [PATCH qemu v8 0/2] memory/iommu: QOM'fy IOMMU MemoryRegion Alexey Kardashevskiy
2017-06-14  6:36 ` [Qemu-devel] [PATCH qemu v8 1/2] " Alexey Kardashevskiy
2017-06-15 12:28   ` David Gibson
2017-06-14  6:36 ` [Qemu-devel] [PATCH qemu v8 2/2] memory/iommu: introduce IOMMUMemoryRegionClass Alexey Kardashevskiy
2017-06-21  2:05   ` Alexey Kardashevskiy
2017-06-21  7:26     ` David Gibson
2017-06-28  4:19       ` Alexey Kardashevskiy
2017-07-04 11:06         ` David Gibson
2017-06-14  6:51 ` [Qemu-devel] [PATCH qemu v8 0/2] memory/iommu: QOM'fy IOMMU MemoryRegion no-reply
2017-06-14  7:07   ` Fam Zheng
2017-06-14  6:52 ` no-reply
2017-06-14  8:27   ` David Gibson [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=20170614082731.GI13420@umbus \
    --to=david@gibson.dropbear.id.au \
    --cc=aik@ozlabs.ru \
    --cc=alex.williamson@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=f4bug@amsat.org \
    --cc=famz@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@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).