[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu-trivial] [PATCH] vhost: fix incorrect print type
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] [Qemu-trivial] [PATCH] vhost: fix incorrect print type |
Date: |
Thu, 6 Jun 2019 11:20:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
Le 29/05/2019 à 15:13, Philippe Mathieu-Daudé a écrit :
> Cc'ing qemu-trivial
>
> On 4/30/19 10:48 AM, Philippe Mathieu-Daudé wrote:
>> On 4/30/19 8:29 AM, Jie Wang wrote:
>>> fix incorrect print type in vhost_virtqueue_stop
>>>
>>> Signed-off-by: Jie Wang <address@hidden>
>>> ---
>>> hw/virtio/vhost.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
>>> index 7f61018f2a..286bb27c65 100644
>>> --- a/hw/virtio/vhost.c
>>> +++ b/hw/virtio/vhost.c
>>> @@ -1081,7 +1081,7 @@ static void vhost_virtqueue_stop(struct vhost_dev
>>> *dev,
>>>
>>> r = dev->vhost_ops->vhost_get_vring_base(dev, &state);
>>> if (r < 0) {
>>> - VHOST_OPS_DEBUG("vhost VQ %d ring restore failed: %d", idx, r);
>>> + VHOST_OPS_DEBUG("vhost VQ %u ring restore failed: %d", idx, r);
>>
>> 'idx' is indeed unsigned.
>>
>> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
>>
>>> /* Connection to the backend is broken, so let's sync internal
>>> * last avail idx to the device used idx.
>>> */
>>>
>
Applied to my trivial-patches branch.
Thanks,
Laurent
- [Qemu-devel] [PULL v2 00/14] virtio, pci, pc: cleanups, features, Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 01/14] hw/acpi: Consolidate build_mcfg to pci.c, Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 02/14] acpi: pci: use build_append_foo() API to construct MCFG, Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 03/14] pcie: Simplify pci_adjust_config_limit(), Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 04/14] pci: Make is_bridge a bool, Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 05/14] pci: Fold pci_get_bus_devfn() into its sole caller, Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 08/14] vhost: fix incorrect print type, Michael S. Tsirkin, 2019/06/03
- Message not available
- Message not available
- Re: [Qemu-devel] [Qemu-trivial] [PATCH] vhost: fix incorrect print type,
Laurent Vivier <=
- [Qemu-devel] [PULL v2 09/14] vhost: fix memory leak in vhost_user_scsi_realize, Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 07/14] vhost: remove the dead code, Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 06/14] docs: smbios: remove family=x from type2 entry description, Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 10/14] bios-tables-test: add diff allowed list, Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 11/14] vhost-scsi: The vhost backend should be stopped when the VM is not running, Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 12/14] vhost-scsi: Add VMState descriptor, Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 13/14] vhost-scsi: Allow user to enable migration, Michael S. Tsirkin, 2019/06/03
- [Qemu-devel] [PULL v2 14/14] bios-tables-test: list all tables that differ, Michael S. Tsirkin, 2019/06/03
- Re: [Qemu-devel] [PULL v2 00/14] virtio, pci, pc: cleanups, features, Peter Maydell, 2019/06/04