diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2007-11-07 06:31:52 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2007-11-12 03:55:12 +0100 |
commit | 44332f7167dfb1ca04af96a2cff938c5e23433db (patch) | |
tree | f096fa66efcaa8b70629667d4252c152c81ef603 /.mailmap | |
parent | ACPI: add documentation for deprecated /proc/acpi/battery in ACPI_PROCFS (diff) | |
download | linux-44332f7167dfb1ca04af96a2cff938c5e23433db.tar.xz linux-44332f7167dfb1ca04af96a2cff938c5e23433db.zip |
virtio: fix vring_init for 64 bits
This patch fixes a typo in vring_init(). This happens to work today in lguest
because the sizeof(struct vring_desc) is 16 and struct vring contains 3
pointers and an unsigned int so on 32-bit
sizeof(struct vring_desc) == sizeof(struct vring). However, this is no longer
true on 64-bit where the bug is exposed.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions