summaryrefslogtreecommitdiffstats
path: root/Documentation/lguest/lguest.c
diff options
context:
space:
mode:
authorAnthony Liguori2007-12-21 01:17:47 +0100
committerRusty Russell2008-02-04 13:49:59 +0100
commit3309daaad724dd08eb598bf9c12b7bb9daddd706 (patch)
tree7f0fb0e040d3bd0e5c88b4f025125cec566221ee /Documentation/lguest/lguest.c
parentvirtio: configuration change callback (diff)
downloadkernel-qcow2-linux-3309daaad724dd08eb598bf9c12b7bb9daddd706.tar.gz
kernel-qcow2-linux-3309daaad724dd08eb598bf9c12b7bb9daddd706.tar.xz
kernel-qcow2-linux-3309daaad724dd08eb598bf9c12b7bb9daddd706.zip
virtio: Fix vring_init/vring_size to take unsigned long
Using unsigned int resulted in silent truncation of the upper 32-bit on x86_64 resulting in an OOPS since the ring was being initialized wrong. Please reconsider my previous patch to just use PAGE_ALIGN(). Open coding this sort of stuff, no matter how simple it seems, is just asking for this sort of trouble. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'Documentation/lguest/lguest.c')
0 files changed, 0 insertions, 0 deletions