diff options
author | Yishai Hadas <[email protected]> | 2021-07-21 10:05:48 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2021-08-02 15:23:42 -0600 |
commit | e7500b3ede2c66380a7e9faa6a81e6df2f8e4e55 (patch) | |
tree | 389676dfbb3ccdd32302cfc93837b77dbb39ae4d /drivers/usb/cdns3/cdns3-trace.c | |
parent | 26c22cfde5dd6e63f25c48458b0185dcb0fbb2fd (diff) |
vfio/pci: Make vfio_pci_regops->rw() return ssize_t
The only implementation of this in IGD returns a -ERRNO which is
implicitly cast through a size_t and then casted again and returned as a
ssize_t in vfio_pci_rw().
Fix the vfio_pci_regops->rw() return type to be ssize_t so all is
consistent.
Fixes: 28541d41c9e0 ("vfio/pci: Add infrastructure for additional device specific regions")
Signed-off-by: Yishai Hadas <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: Max Gurtovoy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions