]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: Change type of variables and return type
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Sun, 17 Mar 2019 21:33:55 +0000 (16:33 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:45:27 +0000 (07:45 +0100)
commit1758ff64d8be4c0df422bb8e4eeaf36c5b858bd8
tree36fe65c89131339d36c6cbbfbb515084f3ba34a0
parentd9d325d354d0ae2ee1d7434f6dd030c9ace76e21
staging: rtl8723bs: Change type of variables and return type

Change type of local variables 'res' and return type of functions
'rtw_init_cmd_pri' and 'rtw_init_evt_priv', as function's
return types are defined for standard error codes _SUCCESS and _FAIL.
Also, change return type of functions declarations corresponding to
change made in function definitions.

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/include/cmd_osdep.h