Displaying 2 results from an estimated 2 matches for "31cc97f2f515".
2020 Aug 05
0
[PATCH v3 29/38] virtio_balloon: use LE config space accesses
...t as such directly.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/virtio/virtio_balloon.c | 26 +++++++++-----------------
1 file changed, 9 insertions(+), 17 deletions(-)
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 8bc1704ffdf3..31cc97f2f515 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -398,12 +398,9 @@ static inline s64 towards_target(struct virtio_balloon *vb)
s64 target;
u32 num_pages;
- virtio_cread(vb->vdev, struct virtio_balloon_config, num_pages,
- &num_pages);
-
/* L...
2020 Sep 14
0
[PATCH 1/3] virtio-balloon: Constify id_table
...nly memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn at gmail.com>
> ---
> drivers/virtio/virtio_balloon.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
> index 31cc97f2f515..481611c09dae 100644
> --- a/drivers/virtio/virtio_balloon.c
> +++ b/drivers/virtio/virtio_balloon.c
> @@ -128,7 +128,7 @@ struct virtio_balloon {
> struct page_reporting_dev_info pr_dev_info;
> };
>
> -static struct virtio_device_id id_table[] = {
> +static const struc...