All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lluís Vilanova" <vilanova@ac.upc.edu>
To: no-reply@patchew.org
Cc: qemu-devel@nongnu.org, famz@redhat.com, stefanha@redhat.com,
	lcapitulino@redhat.com
Subject: Re: [Qemu-devel] [PATCH v7 0/5] hypertrace: Lightweight guest-to-QEMU trace channel
Date: Sun, 30 Jul 2017 15:43:21 +0300	[thread overview]
Message-ID: <87y3r6gknq.fsf@frigg.lan> (raw)
In-Reply-To: <150141620909.27.18190663248638654358@93e45bedd699> (no-reply@patchew.org's message of "Sun, 30 Jul 2017 05:03:30 -0700 (PDT)")

no-reply  writes:

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

> Subject: [Qemu-devel] [PATCH v7 0/5] hypertrace: Lightweight guest-to-QEMU trace channel
> Message-id: 150141363372.9857.9055094189388759132.stgit@frigg.lan
> 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
>  * [new tag]               patchew/1501444898-27668-1-git-send-email-peng.hao2@zte.com.cn -> patchew/1501444898-27668-1-git-send-email-peng.hao2@zte.com.cn
> Switched to a new branch 'test'
> 5dad7c93de hypertrace: Add guest-side user-level library
> dcf9d9c7c7 hypertrace: [softmmu] Add QEMU-side proxy to "guest_hypertrace" event
> 4c041f724d hypertrace: [*-user] Add QEMU-side proxy to "guest_hypertrace" event
> 73796a3885 hypertrace: Add tracing event "guest_hypertrace"
> 43fe7e2e2e hypertrace: Add documentation

> === OUTPUT BEGIN ===
> Checking PATCH 1/5: hypertrace: Add documentation...
> Checking PATCH 2/5: hypertrace: Add tracing event "guest_hypertrace"...
> Checking PATCH 3/5: hypertrace: [*-user] Add QEMU-side proxy to "guest_hypertrace" event...
> Checking PATCH 4/5: hypertrace: [softmmu] Add QEMU-side proxy to "guest_hypertrace" event...
> Checking PATCH 5/5: hypertrace: Add guest-side user-level library...
> WARNING: architecture specific defines should be avoided
> #171: FILE: hypertrace/guest/common.c:84:
> +#if !defined(CONFIG_USER_ONLY) && defined(__linux__)

> ERROR: consider using qemu_strtoull in preference to strtoull
> #191: FILE: hypertrace/guest/common.c:104:
> +    uint64_t vv = strtoull(v, &res, 16);

> total: 1 errors, 1 warnings, 432 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

I think both are false positives for this specific case.

Cheers,
  Lluis

      reply	other threads:[~2017-07-30 12:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-30 11:20 [Qemu-devel] [PATCH v7 0/5] hypertrace: Lightweight guest-to-QEMU trace channel Lluís Vilanova
2017-07-30 11:24 ` [Qemu-devel] [PATCH v7 1/5] hypertrace: Add documentation Lluís Vilanova
2017-07-30 11:28 ` [Qemu-devel] [PATCH v7 2/5] hypertrace: Add tracing event "guest_hypertrace" Lluís Vilanova
2017-07-30 11:32 ` [Qemu-devel] [PATCH v7 3/5] hypertrace: [*-user] Add QEMU-side proxy to "guest_hypertrace" event Lluís Vilanova
2017-07-30 11:36 ` [Qemu-devel] [PATCH v7 4/5] hypertrace: [softmmu] " Lluís Vilanova
2017-07-30 11:40 ` [Qemu-devel] [PATCH v7 5/5] hypertrace: Add guest-side user-level library Lluís Vilanova
2017-07-30 11:49 ` [Qemu-devel] [PATCH v7 0/5] hypertrace: Lightweight guest-to-QEMU trace channel no-reply
2017-07-30 12:44   ` Lluís Vilanova
2017-07-30 12:48     ` Lluís Vilanova
2017-07-30 12:03 ` no-reply
2017-07-30 12:43   ` Lluís Vilanova [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=87y3r6gknq.fsf@frigg.lan \
    --to=vilanova@ac.upc.edu \
    --cc=famz@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=no-reply@patchew.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.