[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] vfio: fix incorrect print type
From: |
Alex Williamson |
Subject: |
Re: [PATCH] vfio: fix incorrect print type |
Date: |
Mon, 19 Oct 2020 07:47:45 -0600 |
On Mon, 19 Oct 2020 13:32:17 +0000
Zhengui li <lizhengui@huawei.com> wrote:
> fix incorrect print type.
Why is it incorrect, describe your change. Patches must include a
Signed-off-by to adhere to the developer's certificate of origin.
Thanks,
Alex
> ---
> hw/vfio/common.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/vfio/common.c b/hw/vfio/common.c
> index 13471ae..acc3356 100644
> --- a/hw/vfio/common.c
> +++ b/hw/vfio/common.c
> @@ -203,7 +203,7 @@ void vfio_region_write(void *opaque, hwaddr addr,
> buf.qword = cpu_to_le64(data);
> break;
> default:
> - hw_error("vfio: unsupported write size, %d bytes", size);
> + hw_error("vfio: unsupported write size, %u bytes", size);
> break;
> }
>
> @@ -260,7 +260,7 @@ uint64_t vfio_region_read(void *opaque,
> data = le64_to_cpu(buf.qword);
> break;
> default:
> - hw_error("vfio: unsupported read size, %d bytes", size);
> + hw_error("vfio: unsupported read size, %u bytes", size);
> break;
> }
>