Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273202
b: refs/heads/master
c: 3ead6f4
h: refs/heads/master
v: v3
  • Loading branch information
Sasha Levin authored and Rusty Russell committed Nov 2, 2011
1 parent e36a35c commit 07b048f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 51c6d61ac58844b5e3e0d28271084c06f6a15371
refs/heads/master: 3ead6f4d42e2866a48d7abf9bc98553f1110b6df
3 changes: 3 additions & 0 deletions trunk/include/linux/virtio_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev,
#define virtio_config_val(vdev, fbit, offset, v) \
virtio_config_buf((vdev), (fbit), (offset), (v), sizeof(*v))

#define virtio_config_val_len(vdev, fbit, offset, v, len) \
virtio_config_buf((vdev), (fbit), (offset), (v), (len))

static inline int virtio_config_buf(struct virtio_device *vdev,
unsigned int fbit,
unsigned int offset,
Expand Down

0 comments on commit 07b048f

Please sign in to comment.