diff options
author | Michael Straube <straube.linux@gmail.com> | 2022-11-11 09:37:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-17 19:48:46 +0100 |
commit | 64ce3acd0a50b3ad7ff345fe11bbb3d39cab216b (patch) | |
tree | f1fe73eb3fdd033539b878af4940d93849db52ab /drivers/dma/mxs-dma.c | |
parent | 8985814bb3732aaf7ce5bf892d2827bd4d854fc7 (diff) | |
download | linux-64ce3acd0a50b3ad7ff345fe11bbb3d39cab216b.tar.bz2 |
staging: r8188eu: convert _rtw_init_xmit_priv() to common error logic
Convert the function _rtw_init_xmit_priv() away from returning _FAIL
or _SUCCESS which uses inverted error logic. Use the common error
logic instead. Return 0 for success and negative values for failure.
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20221111083733.3144-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma/mxs-dma.c')
0 files changed, 0 insertions, 0 deletions