All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Weil <sw@weilnetz.de>
To: qemu-trivial <qemu-trivial@nongnu.org>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	Alexander Graf <agraf@suse.de>
Subject: Re: [Qemu-trivial] [PATCH] PPC: dbdma: macio: Fix format specifiers (build regression)
Date: Fri, 19 Jul 2013 20:59:31 +0200	[thread overview]
Message-ID: <51E98C93.8010508@weilnetz.de> (raw)
In-Reply-To: <F63092DE-7795-4009-AB16-68BE6EC53F94@suse.de>

Am 19.07.2013 00:40, schrieb Alexander Graf:
> On 18.07.2013, at 21:49, Stefan Weil wrote:
>
>> Am 16.07.2013 07:54, schrieb Stefan Weil:
>>> Am 12.07.2013 18:48, schrieb Stefan Weil:
>>>> Fix a number of warnings for 32 bit builds (tested on MingW and Linux):
>>>>
>>>>  CC    hw/ide/macio.o
>>>> qemu/hw/ide/macio.c: In function 'pmac_ide_atapi_transfer_cb':
>>>> qemu/hw/ide/macio.c:134:9: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'hwaddr' [-Werror=format]
>>>> qemu/hw/ide/macio.c: In function 'pmac_ide_transfer_cb':
>>>> qemu/hw/ide/macio.c:215:5: error: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64_t' [-Werror=format]
>>>> qemu/hw/ide/macio.c:222:9: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'hwaddr' [-Werror=format]
>>>> qemu/hw/ide/macio.c:264:9: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'hwaddr' [-Werror=format]
>>>> cc1: all warnings being treated as errors
>>>> make: *** [hw/ide/macio.o] Error 1
>>>>
>>>> Signed-off-by: Stefan Weil <sw@weilnetz.de>
>>>> ---
>>>>
>>>>
>>>>
>>>> Hi Anthony,
>>>>
>>>> the patch fixes a build regression which was introduced today.
>>>> Could you please apply it without waiting for the next pull requests?
>>>>
>>>> Thanks,
>>>> Stefan

[...]

> Acked-by: Alexander Graf <agraf@suse.de> I assume this can go through
> the trivial tree? Or directly get applied by Anthony? Alex 


I still think that build regressions should be fixed by a direct
maintainer commit instead of waiting for a pull request,
but obviously this does not happen here (why?).

So hopefully the fix will be committed via qemu-trivial at least.
See http://patchwork.ozlabs.org/patch/258774/ for the full patch.

Stefan



WARNING: multiple messages have this Message-ID (diff)
From: Stefan Weil <sw@weilnetz.de>
To: qemu-trivial <qemu-trivial@nongnu.org>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	Alexander Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCH] PPC: dbdma: macio: Fix format specifiers (build regression)
Date: Fri, 19 Jul 2013 20:59:31 +0200	[thread overview]
Message-ID: <51E98C93.8010508@weilnetz.de> (raw)
In-Reply-To: <F63092DE-7795-4009-AB16-68BE6EC53F94@suse.de>

Am 19.07.2013 00:40, schrieb Alexander Graf:
> On 18.07.2013, at 21:49, Stefan Weil wrote:
>
>> Am 16.07.2013 07:54, schrieb Stefan Weil:
>>> Am 12.07.2013 18:48, schrieb Stefan Weil:
>>>> Fix a number of warnings for 32 bit builds (tested on MingW and Linux):
>>>>
>>>>  CC    hw/ide/macio.o
>>>> qemu/hw/ide/macio.c: In function 'pmac_ide_atapi_transfer_cb':
>>>> qemu/hw/ide/macio.c:134:9: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'hwaddr' [-Werror=format]
>>>> qemu/hw/ide/macio.c: In function 'pmac_ide_transfer_cb':
>>>> qemu/hw/ide/macio.c:215:5: error: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64_t' [-Werror=format]
>>>> qemu/hw/ide/macio.c:222:9: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'hwaddr' [-Werror=format]
>>>> qemu/hw/ide/macio.c:264:9: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'hwaddr' [-Werror=format]
>>>> cc1: all warnings being treated as errors
>>>> make: *** [hw/ide/macio.o] Error 1
>>>>
>>>> Signed-off-by: Stefan Weil <sw@weilnetz.de>
>>>> ---
>>>>
>>>>
>>>>
>>>> Hi Anthony,
>>>>
>>>> the patch fixes a build regression which was introduced today.
>>>> Could you please apply it without waiting for the next pull requests?
>>>>
>>>> Thanks,
>>>> Stefan

[...]

> Acked-by: Alexander Graf <agraf@suse.de> I assume this can go through
> the trivial tree? Or directly get applied by Anthony? Alex 


I still think that build regressions should be fixed by a direct
maintainer commit instead of waiting for a pull request,
but obviously this does not happen here (why?).

So hopefully the fix will be committed via qemu-trivial at least.
See http://patchwork.ozlabs.org/patch/258774/ for the full patch.

Stefan

  reply	other threads:[~2013-07-19 18:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12 16:48 [Qemu-devel] [PATCH] PPC: dbdma: macio: Fix format specifiers (build regression) Stefan Weil
2013-07-16  5:54 ` Stefan Weil
2013-07-18 19:49   ` Stefan Weil
2013-07-18 22:40     ` Alexander Graf
2013-07-19 18:59       ` Stefan Weil [this message]
2013-07-19 18:59         ` Stefan Weil
2013-07-20 14:24         ` [Qemu-trivial] " Andreas Färber
2013-07-20 14:24           ` Andreas Färber
2013-07-21 14:58           ` [Qemu-trivial] " Stefan Weil
2013-07-21 14:58             ` Stefan Weil
2013-07-23 17:21             ` [Qemu-trivial] " Michael Tokarev
2013-07-23 17:21               ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev

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=51E98C93.8010508@weilnetz.de \
    --to=sw@weilnetz.de \
    --cc=agraf@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@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 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.