diff options
| author | Michael Straube <straube.linux@gmail.com> | 2022-10-02 09:48:27 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-20 17:19:37 +0200 |
| commit | fd692ab4c511a4dd5685e9e34e4ee69ddc362675 (patch) | |
| tree | a53d3e09cce11ab68ef29c7a9943817c8c0a152e /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 40b3f62227d46d21eab71832e331e3aa740b1b34 (diff) | |
| download | linux-fd692ab4c511a4dd5685e9e34e4ee69ddc362675.tar.gz linux-fd692ab4c511a4dd5685e9e34e4ee69ddc362675.zip | |
staging: r8188eu: convert _rtw_init_sta_priv() to common error logic
Convert the function _rtw_init_sta_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-6-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
