summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWei Wang <wei.w.wang@intel.com>2017-07-12 08:40:15 -0400
committerMichael S. Tsirkin <mst@redhat.com>2017-07-25 09:37:35 -0400
commitf9aada5fff212913372410ae45c18c7c3cade67a (patch)
tree4b8834bf7b4f30e1bc118a0d69a958b4233b516f /drivers
parent195a8c43e93d8cec3256f4433f641bd4db35e23c (diff)
virtio-balloon: coding format cleanup
Clean up the comment format. Signed-off-by: Wei Wang <wei.w.wang@intel.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/virtio/virtio_balloon.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 7f38ae687b08..f0b3a0b9d42f 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -132,8 +132,10 @@ static void set_page_pfns(struct virtio_balloon *vb,
132{ 132{
133 unsigned int i; 133 unsigned int i;
134 134
135 /* Set balloon pfns pointing at this page. 135 /*
136 * Note that the first pfn points at start of the page. */ 136 * Set balloon pfns pointing at this page.
137 * Note that the first pfn points at start of the page.
138 */
137 for (i = 0; i < VIRTIO_BALLOON_PAGES_PER_PAGE; i++) 139 for (i = 0; i < VIRTIO_BALLOON_PAGES_PER_PAGE; i++)
138 pfns[i] = cpu_to_virtio32(vb->vdev, 140 pfns[i] = cpu_to_virtio32(vb->vdev,
139 page_to_balloon_pfn(page) + i); 141 page_to_balloon_pfn(page) + i);