]> 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)
commit6a82ca3f70104387b84b26a95a66bc21f71a7e41
tree2ba25ace7c97bef70cec2eb10bc06a109fa14dad
parentae896753a62bd17be9211927bedd426bfcb6116b
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