On Mon, 05 Nov 2012, Rusty Russell wrote:
Lee Jones lee.jo...@linaro.org writes:
drivers/virtio/virtio_mmio.c: In function ‘vm_cmdline_set’:
drivers/virtio/virtio_mmio.c:535:4: warning: format ‘%u’ expects argument
of type ‘unsigned int *’, but argument 4 has type ‘resource_size_t *’
On Mon, 2012-11-05 at 08:21 +, Lee Jones wrote:
processed = sscanf(str, @%lli:%u%n:%d%n,
- base, resources[1].start, consumed,
+ base, (unsigned int *)resources[1].start, consumed,
vm_cmdline_id, consumed);
This suppresses a
Lee Jones lee.jo...@linaro.org writes:
drivers/virtio/virtio_mmio.c: In function ‘vm_cmdline_set’:
drivers/virtio/virtio_mmio.c:535:4: warning: format ‘%u’ expects argument of
type ‘unsigned int *’, but argument 4 has type ‘resource_size_t *’ [-Wformat]
Cc: Rusty Russell
drivers/virtio/virtio_mmio.c: In function ‘vm_cmdline_set’:
drivers/virtio/virtio_mmio.c:535:4: warning: format ‘%u’ expects argument of
type ‘unsigned int *’, but argument 4 has type ‘resource_size_t *’ [-Wformat]
Cc: Rusty Russell ru...@rustcorp.com.au
Cc:
4 matches
Mail list logo