Re: [PATCH] vfio/pci: use "ssize_t" as a return value instead of "size_t"

From: Jason Gunthorpe
Date: Tue Jul 27 2021 - 07:55:48 EST


On Tue, Jul 27, 2021 at 11:24:33AM +0800, Cai Huoqing wrote:
> should use ssize_t when it returns error code and size_t
>
> Signed-off-by: Cai Huoqing <caihuoqing@xxxxxxxxx>
> ---
> drivers/vfio/pci/vfio_pci_igd.c | 4 ++--
> drivers/vfio/pci/vfio_pci_private.h | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)

This is a dup of this patch:

https://lore.kernel.org/kvm/0-v3-5db12d1bf576+c910-vfio_rw_jgg@xxxxxxxxxx/

Jason