Most of our code has struct foo { } Fix two instances where balloon is inconsistent.
Unified · Split
| @@ -44,8 +44,7 @@ static int oom_pages = OOM_VBALLOON_DEFAULT_PAGES; · 43 unmodified lines | |||
| 44 | module_param(oom_pages, int, S_IRUSR | S_IWUSR); | 44 | module_param(oom_pages, int, S_IRUSR | S_IWUSR); |
| 45 | MODULE_PARM_DESC(oom_pages, "pages to free on OOM"); | 45 | MODULE_PARM_DESC(oom_pages, "pages to free on OOM"); |
| 46 | 46 | ||
| 47 | struct virtio_balloon | 47 | struct virtio_balloon { |
| 48 | { | ||
| 49 | struct virtio_device *vdev; | 48 | struct virtio_device *vdev; |
| 50 | struct virtqueue *inflate_vq, *deflate_vq, *stats_vq; | 49 | struct virtqueue *inflate_vq, *deflate_vq, *stats_vq; |
| 51 | 50 | ||
| @@ -36,8 +36,7 @@ · 35 unmodified lines | |||
| 36 | /* Size of a PFN in the balloon interface. */ | 36 | /* Size of a PFN in the balloon interface. */ |
| 37 | #define VIRTIO_BALLOON_PFN_SHIFT 12 | 37 | #define VIRTIO_BALLOON_PFN_SHIFT 12 |
| 38 | 38 | ||
| 39 | struct virtio_balloon_config | 39 | struct virtio_balloon_config { |
| 40 | { | ||
| 41 | /* Number of pages host wants Guest to give up. */ | 40 | /* Number of pages host wants Guest to give up. */ |
| 42 | __le32 num_pages; | 41 | __le32 num_pages; |
| 43 | /* Number of pages we've actually got in balloon. */ | 42 | /* Number of pages we've actually got in balloon. */ |