[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v3 18/18] vhost: coding style fix
From: |
Michael S. Tsirkin |
Subject: |
[PULL v3 18/18] vhost: coding style fix |
Date: |
Thu, 23 Jan 2020 02:11:02 -0500 |
Drop a trailing whitespace. Make line shorter.
Fixes: 76525114736e8 ("vhost: Only align sections for vhost-user")
Signed-off-by: Michael S. Tsirkin <address@hidden>
---
hw/virtio/vhost.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
index 25fd469179..9edfadc81d 100644
--- a/hw/virtio/vhost.c
+++ b/hw/virtio/vhost.c
@@ -551,7 +551,7 @@ static void vhost_region_add_section(struct vhost_dev *dev,
trace_vhost_region_add_section(section->mr->name, mrs_gpa, mrs_size,
mrs_host);
- if (dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_USER) {
+ if (dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_USER) {
/* Round the section to it's page size */
/* First align the start down to a page boundary */
size_t mrs_page = qemu_ram_pagesize(mrs_rb);
@@ -566,8 +566,8 @@ static void vhost_region_add_section(struct vhost_dev *dev,
if (alignage) {
mrs_size += mrs_page - alignage;
}
- trace_vhost_region_add_section_aligned(section->mr->name, mrs_gpa,
mrs_size,
- mrs_host);
+ trace_vhost_region_add_section_aligned(section->mr->name, mrs_gpa,
+ mrs_size, mrs_host);
}
if (dev->n_tmp_sections) {
--
MST
- [PULL v3 09/18] bios-tables-test: document expected file update, (continued)
- [PULL v3 09/18] bios-tables-test: document expected file update, Michael S. Tsirkin, 2020/01/23
- [PULL v3 10/18] virtio-9p-device: fix memleak in virtio_9p_device_unrealize, Michael S. Tsirkin, 2020/01/23
- [PULL v3 11/18] virtio-9p-device: convert to new virtio_delete_queue, Michael S. Tsirkin, 2020/01/23
- [PULL v3 12/18] virtio-scsi: delete vqs in unrealize to avoid memleaks, Michael S. Tsirkin, 2020/01/23
- [PULL v3 13/18] virtio-scsi: convert to new virtio_delete_queue, Michael S. Tsirkin, 2020/01/23
- [PULL v3 14/18] vhost-vsock: delete vqs in vhost_vsock_unrealize to avoid memleaks, Michael S. Tsirkin, 2020/01/23
- [PULL v3 15/18] vhost: Add names to section rounded warning, Michael S. Tsirkin, 2020/01/23
- [PULL v3 16/18] vhost: Only align sections for vhost-user, Michael S. Tsirkin, 2020/01/23
- [PULL v3 17/18] i386:acpi: Remove _HID from the SMBus ACPI entry, Michael S. Tsirkin, 2020/01/23
- [PULL v3 18/18] vhost: coding style fix,
Michael S. Tsirkin <=
- [PULL v3 08/18] acpi: cpuhp: add CPHP_GET_CPU_ID_CMD command, Michael S. Tsirkin, 2020/01/23
- Re: [PULL v3 00/18] virtio, pc: fixes, features, no-reply, 2020/01/23
- Re: [PULL v3 00/18] virtio, pc: fixes, features, Peter Maydell, 2020/01/23