From: Christian Borntraeger Date: Thu, 29 May 2008 09:08:01 +0000 (+0200) Subject: virtio_config: fix len calculation of config elements X-Git-Tag: v2.6.26-rc5~30^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f31fe05000af54e1af81f65a96cab90db8d7ed8;p=pandora-kernel.git 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 Signed-off-by: Rusty Russell --- Reading git-diff-tree failed