History

virtio_balloon: coding style fixes

Most of our code has struct foo { } Fix two instances where balloon is inconsistent.

Michael S. Tsirkin committed 11 years ago

Commit 25e65e41 parent d3f5f062 files · +2 −4Browse files

Unified · Split

2 files
  1. drivers/virtio/virtio_balloon.c +1 −2
  2. include/uapi/linux/virtio_balloon.h +1 −2
drivers/virtio/virtio_balloon.c+1−2
@@ -44,8 +44,7 @@ static int oom_pages = OOM_VBALLOON_DEFAULT_PAGES; · 43 unmodified lines
4444 module_param(oom_pages, int, S_IRUSR | S_IWUSR);
4545 MODULE_PARM_DESC(oom_pages, "pages to free on OOM");
4646
47−struct virtio_balloon
48−{
47+struct virtio_balloon {
4948 struct virtio_device *vdev;
5049 struct virtqueue *inflate_vq, *deflate_vq, *stats_vq;
5150
include/uapi/linux/virtio_balloon.h+1−2
@@ -36,8 +36,7 @@ · 35 unmodified lines
3636 /* Size of a PFN in the balloon interface. */
3737 #define VIRTIO_BALLOON_PFN_SHIFT 12
3838
39−struct virtio_balloon_config
40−{
39+struct virtio_balloon_config {
4140 /* Number of pages host wants Guest to give up. */
4241 __le32 num_pages;
4342 /* Number of pages we've actually got in balloon. */