linux/drivers/virtio
Pawel Moll 40f9938c4c virtio-mmio: Fix irq parsing in command line parameter
When the resource_size_t is 64-bit long, the sscanf() on
the virtio device command line paramter string may return
wrong value because its format was defined as "%u". Fixed
by using an intermediate local value of a known length.

Also added cleaned up the resource creation and added extra
comments to make the parameters parsing easier to follow.

Reported-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-12-18 15:20:41 +10:30
..
config.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
Kconfig virtio: remove CONFIG_VIRTIO_RING 2012-09-28 15:05:15 +09:30
Makefile virtio: remove CONFIG_VIRTIO_RING 2012-09-28 15:05:15 +09:30
virtio.c virtio: don't crash when device is buggy 2012-09-28 15:05:16 +09:30
virtio_balloon.c virtio: Convert dev_printk(KERN_<LEVEL> to dev_<level>( 2012-12-18 15:20:40 +10:30
virtio_mmio.c virtio-mmio: Fix irq parsing in command line parameter 2012-12-18 15:20:41 +10:30
virtio_pci.c virtio: move queue_index and num_free fields into core struct virtqueue. 2012-12-18 15:20:31 +10:30
virtio_ring.c virtio: make virtqueue_add_buf() returning 0 on success, not capacity. 2012-12-18 15:20:34 +10:30