diff options
author | Qianfeng Rong <rongqianfeng@vivo.com> | 2025-08-26 10:54:18 +0300 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2025-08-28 07:36:14 +0300 |
commit | 82b8166171bdebbc74717e4a0cfb4b89cd0510aa (patch) | |
tree | 35a50dc43cc599af1fea373b8271dcbf95c9ef37 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 70c1595c181c48a022756116a6c46d5e8bad2c6f (diff) | |
download | linux-82b8166171bdebbc74717e4a0cfb4b89cd0510aa.tar.xz |
ata: ahci_xgene: Use int type for 'rc' to store error codes
Use int instead of u32 for the 'rc' variable in xgene_ahci_softreset()
to store negative error codes returned by ahci_do_softreset().
In xgene_ahci_pmp_softreset(), remove the redundant 'rc' variable and
directly return the result of the ahci_do_softreset() call instead.
Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions