From 12c4b587cc64adc8f1b9037103b646fa2079d3ea Mon Sep 17 00:00:00 2001 From: Christian Borntraeger Date: Thu, 29 May 2008 11:08:01 +0200 Subject: [PATCH] --- yaml --- r: 97522 b: refs/heads/master c: 7f31fe05000af54e1af81f65a96cab90db8d7ed8 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/virtio_config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index e7b101e72d00..b55b7e91f0e9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 52a3a05f3ab82655ffa4c9bf6835565c98a3c2e5 +refs/heads/master: 7f31fe05000af54e1af81f65a96cab90db8d7ed8 diff --git a/trunk/include/linux/virtio_config.h b/trunk/include/linux/virtio_config.h index 50db245c81ad..71d6c102497e 100644 --- a/trunk/include/linux/virtio_config.h +++ b/trunk/include/linux/virtio_config.h @@ -99,7 +99,7 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev, * The return value is -ENOENT if the feature doesn't exist. Otherwise * the config value is copied into whatever is pointed to by v. */ #define virtio_config_val(vdev, fbit, offset, v) \ - virtio_config_buf((vdev), (fbit), (offset), (v), sizeof(v)) + virtio_config_buf((vdev), (fbit), (offset), (v), sizeof(*v)) static inline int virtio_config_buf(struct virtio_device *vdev, unsigned int fbit,