virtio_balloon: coding style fixes
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>
	
	
This commit is contained in:
		
					parent
					
						
							
								d3f5f06560
							
						
					
				
			
			
				commit
				
					
						25e65e4efc
					
				
			
		
					 2 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
					@ -44,8 +44,7 @@ static int oom_pages = OOM_VBALLOON_DEFAULT_PAGES;
 | 
				
			||||||
module_param(oom_pages, int, S_IRUSR | S_IWUSR);
 | 
					module_param(oom_pages, int, S_IRUSR | S_IWUSR);
 | 
				
			||||||
MODULE_PARM_DESC(oom_pages, "pages to free on OOM");
 | 
					MODULE_PARM_DESC(oom_pages, "pages to free on OOM");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct virtio_balloon
 | 
					struct virtio_balloon {
 | 
				
			||||||
{
 | 
					 | 
				
			||||||
	struct virtio_device *vdev;
 | 
						struct virtio_device *vdev;
 | 
				
			||||||
	struct virtqueue *inflate_vq, *deflate_vq, *stats_vq;
 | 
						struct virtqueue *inflate_vq, *deflate_vq, *stats_vq;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -36,8 +36,7 @@
 | 
				
			||||||
/* Size of a PFN in the balloon interface. */
 | 
					/* Size of a PFN in the balloon interface. */
 | 
				
			||||||
#define VIRTIO_BALLOON_PFN_SHIFT 12
 | 
					#define VIRTIO_BALLOON_PFN_SHIFT 12
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct virtio_balloon_config
 | 
					struct virtio_balloon_config {
 | 
				
			||||||
{
 | 
					 | 
				
			||||||
	/* Number of pages host wants Guest to give up. */
 | 
						/* Number of pages host wants Guest to give up. */
 | 
				
			||||||
	__le32 num_pages;
 | 
						__le32 num_pages;
 | 
				
			||||||
	/* Number of pages we've actually got in balloon. */
 | 
						/* Number of pages we've actually got in balloon. */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue