]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: rtl8723bs: Change values to standard error codes in functions
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Mon, 18 Mar 2019 23:12:34 +0000 (18:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Mar 2019 13:32:35 +0000 (14:32 +0100)
commitca31306444bc521a91419a1875ffda6656e14fd0
tree2ba25ace7c97bef70cec2eb10bc06a109fa14dad
parent21d8e8216c6dcf26e906db19350f002560f27620
Staging: rtl8723bs: Change values to standard error codes in functions

Change values for standard error codes in functions rtw_init_cmd_priv and
rtw_init_evt_priv, as _SUCCESS should be 0 and _FAIL should be -ENOMEM.
Also, change the values in corresponding call sites of the functions.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c
drivers/staging/rtl8723bs/os_dep/os_intfs.c