linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] virtio_balloon: coding style fixes
@ 2015-01-15 11:39 Michael S. Tsirkin
  2015-01-15 13:06 ` Michal Hocko
  0 siblings, 1 reply; 7+ messages in thread
From: Michael S. Tsirkin @ 2015-01-15 11:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-api, virtualization

Most of our code has
struct foo {
}

Fix two instances where balloon is inconsistent.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 include/uapi/linux/virtio_balloon.h | 3 +--
 drivers/virtio/virtio_balloon.c     | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/include/uapi/linux/virtio_balloon.h b/include/uapi/linux/virtio_balloon.h
index be40f70..4b0488f 100644
--- a/include/uapi/linux/virtio_balloon.h
+++ b/include/uapi/linux/virtio_balloon.h
@@ -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. */
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 3176ea4..0413157 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -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;
 
-- 
MST

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-15 21:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-15 11:39 [PATCH] virtio_balloon: coding style fixes Michael S. Tsirkin
2015-01-15 13:06 ` Michal Hocko
2015-01-15 13:44   ` Michael S. Tsirkin
     [not found]     ` <20150115134412.GA23874-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-01-15 14:13       ` Michal Hocko
2015-01-15 18:50         ` Michael S. Tsirkin
     [not found]           ` <20150115185018.GA31068-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-01-15 20:16             ` Michal Hocko
2015-01-15 21:09     ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).