search for: ed1e0d5

Displaying 5 results from an estimated 5 matches for "ed1e0d5".

2015 Mar 31
2
[PATCH] virtio_config: reorder functions
...ther. Drops an extra empty line while we are at it. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- include/linux/virtio_config.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index ed1e0d5..1e306f7 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -298,13 +298,6 @@ static inline __virtio64 cpu_to_virtio64(struct virtio_device *vdev, u64 val) } \ } while(0) -static inline u8 virtio_cread8(struct virtio_device *vdev, unsigned int offset) -{...
2015 Mar 31
2
[PATCH] virtio_config: reorder functions
...ther. Drops an extra empty line while we are at it. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- include/linux/virtio_config.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index ed1e0d5..1e306f7 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -298,13 +298,6 @@ static inline __virtio64 cpu_to_virtio64(struct virtio_device *vdev, u64 val) } \ } while(0) -static inline u8 virtio_cread8(struct virtio_device *vdev, unsigned int offset) -{...
2015 Apr 08
0
[PATCH] virtio_config: reorder functions
...it. > > Signed-off-by: Michael S. Tsirkin <mst at redhat.com> Ping > --- > include/linux/virtio_config.h | 15 +++++++-------- > 1 file changed, 7 insertions(+), 8 deletions(-) > > diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h > index ed1e0d5..1e306f7 100644 > --- a/include/linux/virtio_config.h > +++ b/include/linux/virtio_config.h > @@ -298,13 +298,6 @@ static inline __virtio64 cpu_to_virtio64(struct virtio_device *vdev, u64 val) > } \ > } while(0) > > -static inline u8 virtio_cread8(struct virtio_dev...
2015 Mar 31
2
[PATCH] virtio: drop a useless config read
...on boot ATM, so performance isn't affected, but let's clean it up. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- include/linux/virtio_config.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index ca3ed78..ed1e0d5 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -374,7 +374,6 @@ static inline u64 virtio_cread64(struct virtio_device *vdev, unsigned int offset) { u64 ret; - vdev->config->get(vdev, offset, &ret, sizeof(ret)); __virtio_cread_many(vdev, offset...
2015 Mar 31
2
[PATCH] virtio: drop a useless config read
...on boot ATM, so performance isn't affected, but let's clean it up. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- include/linux/virtio_config.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index ca3ed78..ed1e0d5 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -374,7 +374,6 @@ static inline u64 virtio_cread64(struct virtio_device *vdev, unsigned int offset) { u64 ret; - vdev->config->get(vdev, offset, &ret, sizeof(ret)); __virtio_cread_many(vdev, offset...