2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/vfio/pci/hisilicon
Longfang Liu 1dcf2cf102 hisi_acc_vfio_pci: update function return values.
In this driver file, many functions call sub-functions and use ret
to store the error code of the sub-functions.
However, instead of directly returning ret to the caller, they use a
converted error code, which prevents the end-user from clearly
understanding the root cause of the error.
Therefore, the code needs to be modified to directly return the error
code from the sub-functions.

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Link: https://lore.kernel.org/r/20250510081155.55840-7-liulongfang@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2025-05-19 12:41:31 -06:00
..
hisi_acc_vfio_pci.c hisi_acc_vfio_pci: update function return values. 2025-05-19 12:41:31 -06:00
hisi_acc_vfio_pci.h hisi_acc_vfio_pci: fix XQE dma address error 2025-05-19 12:41:31 -06:00
Kconfig vfio/pci: Cleanup Kconfig 2023-06-16 12:23:42 -06:00
Makefile