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
44module_param(oom_pages, int, S_IRUSR | S_IWUSR);44module_param(oom_pages, int, S_IRUSR | S_IWUSR);
45MODULE_PARM_DESC(oom_pages, "pages to free on OOM");45MODULE_PARM_DESC(oom_pages, "pages to free on OOM");
46 46
47struct virtio_balloon47struct 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
include/uapi/linux/virtio_balloon.h+1−2
@@ -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 1237#define VIRTIO_BALLOON_PFN_SHIFT 12
38 38
39struct virtio_balloon_config39struct 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. */