On 2018/10/15 下午9:20, Peter Maydell wrote:
> On 15 October 2018 at 09:46, Jason Wang <jasowang@redhat.com> wrote:
>> The following changes since commit a73549f99612f758dec0fdea6ae1c30b6c709a0b:
>>
>> Merge remote-tracking branch 'remotes/kraxel/tags/ui-20181012-pull-request' into staging (2018-10-12 16:45:51 +0100)
>>
>> are available in the git repository at:
>>
>> https://github.com/jasowang/qemu.git tags/net-pull-request
>>
>> for you to fetch changes up to a7ec0077c2db445d6bae421963188367d2695bd6:
>>
>> qemu-options: Fix bad "macaddr" property in the documentation (2018-10-15 16:14:15 +0800)
>>
>> ----------------------------------------------------------------
>>
>> ----------------------------------------------------------------
> Hi; there seems to be a format string issue in this pullreq:
>
> In file included from hw/net/trace.c:4:0:
> hw/net/trace.h: In function '_nocheck__trace_e1000_receiver_overrun':
> hw/net/trace.h:2696:18: error: format '%lu' expects argument of type
> 'long unsigned int', but argument 5 has type 'size_t {aka long long
> unsigned int}' [-Werror=format=]
> qemu_log("%d@%zu.%06zu:e1000_receiver_overrun " "Receiver
> overrun: dropped packet of %lu bytes, RDH=%u, RDT=%u" "\n",
> ^
>
> which means it won't compile on 32-bit hosts.
>
> thanks
> -- PMM
Sorry, will post V2.
Thanks