Re: [Qemu-devel] [PATCH 1/2] gt64xxx.c: fix length modifier in DPRINTF format string

2011-09-27 Thread Ray Wang
Tested-by: Ray Wang On 9/26/2011 1:02 PM, Antony Pavlov wrote: The commit fc2bf44972349b078d8310466c3866615500e67f changed the type of val argument of the function gt64120_writel() from uint32_t to uint64_t, so we need to change the corresponding length modifier from "%x" to "%" PRIx64. Signed

[Qemu-devel] [PATCH 1/2] gt64xxx.c: fix length modifier in DPRINTF format string

2011-09-25 Thread Antony Pavlov
The commit fc2bf44972349b078d8310466c3866615500e67f changed the type of val argument of the function gt64120_writel() from uint32_t to uint64_t, so we need to change the corresponding length modifier from "%x" to "%" PRIx64. Signed-off-by: Antony Pavlov --- hw/gt64xxx.c |8 1 files

Re: [Qemu-devel] [PATCH 1/2] gt64xxx.c: fix length modifier in DPRINTF format string

2011-09-25 Thread Antony Pavlov
On 26 September 2011 00:56, Peter Maydell wrote: > On 25 September 2011 21:02, Antony Pavlov wrote: >> The commit fc2bf44972349b078d8310466c3866615500e67f >> changed the type of val argument of the function gt64120_writel() >> from uint32_t to uint64_t, so we need to change the corresponding >> l

Re: [Qemu-devel] [PATCH 1/2] gt64xxx.c: fix length modifier in DPRINTF format string

2011-09-25 Thread Peter Maydell
On 25 September 2011 21:02, Antony Pavlov wrote: > The commit fc2bf44972349b078d8310466c3866615500e67f > changed the type of val argument of the function gt64120_writel() > from uint32_t to uint64_t, so we need to change the corresponding > length modifier from '%x' to '%llx'. Revised patch looks

[Qemu-devel] [PATCH 1/2] gt64xxx.c: fix length modifier in DPRINTF format string

2011-09-25 Thread Antony Pavlov
The commit fc2bf44972349b078d8310466c3866615500e67f changed the type of val argument of the function gt64120_writel() from uint32_t to uint64_t, so we need to change the corresponding length modifier from '%x' to '%llx'. Signed-off-by: Antony Pavlov --- hw/gt64xxx.c |8 1 files chan

Re: [Qemu-devel] [PATCH 1/2] gt64xxx.c: fix length modifier in DPRINTF format string

2011-09-25 Thread Antony Pavlov
On 25 September 2011 23:22, Peter Maydell wrote: > On 25 September 2011 19:14, Antony Pavlov wrote: >> The commit fc2bf44972349b078d8310466c3866615500e67f >> changed the type of val argument of the function gt64120_writel() >> from uint32_t to uint64_t, so we need to change the corresponding >> l

Re: [Qemu-devel] [PATCH 1/2] gt64xxx.c: fix length modifier in DPRINTF format string

2011-09-25 Thread Peter Maydell
On 25 September 2011 19:14, Antony Pavlov wrote: > The commit fc2bf44972349b078d8310466c3866615500e67f > changed the type of val argument of the function gt64120_writel() > from uint32_t to uint64_t, so we need to change the corresponding > length modifier from '%x' to '%llx'. For a uint64_t you

[Qemu-devel] [PATCH 1/2] gt64xxx.c: fix length modifier in DPRINTF format string

2011-09-25 Thread Antony Pavlov
The commit fc2bf44972349b078d8310466c3866615500e67f changed the type of val argument of the function gt64120_writel() from uint32_t to uint64_t, so we need to change the corresponding length modifier from '%x' to '%llx'. Signed-off-by: Antony Pavlov --- hw/gt64xxx.c |8 1 files chan