diff options
author | Longfang Liu <liulongfang@huawei.com> | 2025-05-10 16:11:55 +0800 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2025-05-19 12:41:31 -0600 |
commit | 1dcf2cf102d72e0bbf0d7533756c9a0ccb6e91d3 (patch) | |
tree | e8033837312d1c387b92f346aa85e15b95e45334 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 2777a40998deb36f96b6afc48bd397cf58a4edf0 (diff) |
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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions