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 | 44 | module_param(oom_pages, int, S_IRUSR | S_IWUSR); |
| 45 | 45 | MODULE_PARM_DESC(oom_pages, "pages to free on OOM"); |
| 46 | 46 | |
| 47 | −struct virtio_balloon | |
| 48 | −{ | |
| 47 | +struct virtio_balloon { | |
| 49 | 48 | struct virtio_device *vdev; |
| 50 | 49 | struct virtqueue *inflate_vq, *deflate_vq, *stats_vq; |
| 51 | 50 | |
| @@ -36,8 +36,7 @@ · 35 unmodified lines | ||
| 36 | 36 | /* Size of a PFN in the balloon interface. */ |
| 37 | 37 | #define VIRTIO_BALLOON_PFN_SHIFT 12 |
| 38 | 38 | |
| 39 | −struct virtio_balloon_config | |
| 40 | −{ | |
| 39 | +struct virtio_balloon_config { | |
| 41 | 40 | /* Number of pages host wants Guest to give up. */ |
| 42 | 41 | __le32 num_pages; |
| 43 | 42 | /* Number of pages we've actually got in balloon. */ |