diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2008-05-29 11:08:01 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-05-30 15:09:45 +1000 |
commit | 7f31fe05000af54e1af81f65a96cab90db8d7ed8 (patch) | |
tree | 41de5ae1cad5bc30f18bc3334104d059f5c83fc3 /include/linux/virtio_blk.h | |
parent | 52a3a05f3ab82655ffa4c9bf6835565c98a3c2e5 (diff) | |
download | linux-3.10-7f31fe05000af54e1af81f65a96cab90db8d7ed8.tar.gz linux-3.10-7f31fe05000af54e1af81f65a96cab90db8d7ed8.tar.bz2 linux-3.10-7f31fe05000af54e1af81f65a96cab90db8d7ed8.zip |
virtio_config: fix len calculation of config elements
Rusty,
This patch is a prereq for the virtio_blk blocksize patch, please apply it
first.
Adding an u32 value to the virtio_blk_config unconvered a small bug the config
space defintions:
v is a pointer, to we have to use sizeof(*v) instead of sizeof(v).
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/virtio_blk.h')
0 files changed, 0 insertions, 0 deletions