]> git.karo-electronics.de Git - linux-beck.git/commitdiff
virtio_balloon: coding style fixes
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Jan 2015 11:33:31 +0000 (13:33 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Jan 2015 05:58:56 +0000 (16:28 +1030)
Most of our code has
struct foo {
}

Fix two instances where balloon is inconsistent.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_balloon.c
include/uapi/linux/virtio_balloon.h

index 3176ea4028a83c26b03415d9202a8343ed66c512..0413157f3b49c230aaa7a775564086144977803f 100644 (file)
@@ -44,8 +44,7 @@ static int oom_pages = OOM_VBALLOON_DEFAULT_PAGES;
 module_param(oom_pages, int, S_IRUSR | S_IWUSR);
 MODULE_PARM_DESC(oom_pages, "pages to free on OOM");
 
-struct virtio_balloon
-{
+struct virtio_balloon {
        struct virtio_device *vdev;
        struct virtqueue *inflate_vq, *deflate_vq, *stats_vq;
 
index be40f7059e939de1022b9a06f78cb0050b2cc149..4b0488f20b2ef5bfa9c3c4e94c4dba112a9d0527 100644 (file)
@@ -36,8 +36,7 @@
 /* Size of a PFN in the balloon interface. */
 #define VIRTIO_BALLOON_PFN_SHIFT 12
 
-struct virtio_balloon_config
-{
+struct virtio_balloon_config {
        /* Number of pages host wants Guest to give up. */
        __le32 num_pages;
        /* Number of pages we've actually got in balloon. */