From: "Michael S. Tsirkin" <mst@redhat.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>
Subject: [PULL v3 18/18] vhost: coding style fix
Date: Thu, 23 Jan 2020 02:11:02 -0500 [thread overview]
Message-ID: <20200123070913.626488-19-mst@redhat.com> (raw)
In-Reply-To: <20200123070913.626488-1-mst@redhat.com>
Drop a trailing whitespace. Make line shorter.
Fixes: 76525114736e8 ("vhost: Only align sections for vhost-user")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
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
next prev parent reply other threads:[~2020-01-23 7:25 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-23 7:10 [PULL v3 00/18] virtio, pc: fixes, features Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 01/18] q35: implement 128K SMRAM at default SMBASE address Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 02/18] tests: q35: MCH: add default SMBASE SMRAM lock test Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 03/18] acpi: cpuhp: spec: clarify 'CPU selector' register usage and endianness Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 04/18] acpi: cpuhp: spec: fix 'Command data' description Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 05/18] acpi: cpuhp: spec: clarify store into 'Command data' when 'Command field' == 0 Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 06/18] acpi: cpuhp: introduce 'Command data 2' field Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 07/18] acpi: cpuhp: spec: add typical usecases Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 08/18] acpi: cpuhp: add CPHP_GET_CPU_ID_CMD command Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 09/18] bios-tables-test: document expected file update Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 10/18] virtio-9p-device: fix memleak in virtio_9p_device_unrealize Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 11/18] virtio-9p-device: convert to new virtio_delete_queue Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 12/18] virtio-scsi: delete vqs in unrealize to avoid memleaks Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 13/18] virtio-scsi: convert to new virtio_delete_queue Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 14/18] vhost-vsock: delete vqs in vhost_vsock_unrealize to avoid memleaks Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 15/18] vhost: Add names to section rounded warning Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 16/18] vhost: Only align sections for vhost-user Michael S. Tsirkin
2020-01-23 7:10 ` [PULL v3 17/18] i386:acpi: Remove _HID from the SMBus ACPI entry Michael S. Tsirkin
2020-01-30 19:05 ` Peter Maydell
2020-02-03 6:33 ` Michael S. Tsirkin
2020-02-03 12:03 ` Corey Minyard
2020-02-03 12:10 ` Peter Maydell
2020-02-03 12:50 ` Michael S. Tsirkin
2020-01-23 7:11 ` Michael S. Tsirkin [this message]
2020-01-23 7:45 ` [PULL v3 00/18] virtio, pc: fixes, features no-reply
2020-01-23 7:47 ` Michael S. Tsirkin
2020-01-23 14:31 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200123070913.626488-19-mst@redhat.com \
--to=mst@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).