diff options
author | Michael Straube <straube.linux@gmail.com> | 2023-02-05 09:05:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-06 10:48:01 +0100 |
commit | 3d281bdbffb330da562df985dc30ed1075b638f4 (patch) | |
tree | 7e06fb32618119a15095c4dc3fabecfa59df3be9 /tools/perf/scripts/python/stackcollapse.py | |
parent | 7e00e0c42d119090373d179a6fdc2ab09db5c4f8 (diff) |
staging: r8188eu: correct error logic of _rtw_init_recv_priv()
Convert the function _rtw_init_recv_priv() away from returning _FAIL
and _SUCCESS, which uses inverted error logic. Return 0 for success
and negative values for failure instead.
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/20230205080559.8319-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions