diff options
| author | Michael Straube <straube.linux@gmail.com> | 2022-10-02 09:48:25 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-20 17:19:37 +0200 |
| commit | d4fda24757678311ff0a219bd150a3c3aeb6a2f8 (patch) | |
| tree | b6e32466c8bc8396519df4c19d5d8e055c7d4ade /tools/perf/scripts/python/bin | |
| parent | ef2a2422ab86d99e0bfd940c38c60b77c9ad9954 (diff) | |
| download | linux-d4fda24757678311ff0a219bd150a3c3aeb6a2f8.tar.gz linux-d4fda24757678311ff0a219bd150a3c3aeb6a2f8.zip | |
staging: r8188eu: convert rtw_init_cmd_priv() to common error logic
Convert the function rtw_init_cmd_priv() to common kernel error logic.
Return 0 on success and negative value on failure. This is part of
getting rid of returning _SUCCESS and _FAIL which uses inverted error
logic and is used all over the driver.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221002074827.8566-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
