Home
last modified time | relevance | path

Searched hist:c3e43d8b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_linux.cc3e43d8b Wed Oct 17 03:15:34 CDT 2018 Christophe JAILLET <christophe.jaillet@wanadoo.fr> staging: rtl8723bs: Fix the return value in case of error in 'rtw_wx_read32()'

We return 0 unconditionally in 'rtw_wx_read32()'.
However, 'ret' is set to some error codes in several error handling paths.

Return 'ret' instead to propagate the error code.

Fixes: 554c0a3abf216 ("staging: Add rtl8723bs sdio wifi driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c3e43d8b Wed Oct 17 03:15:34 CDT 2018 Christophe JAILLET <christophe.jaillet@wanadoo.fr> staging: rtl8723bs: Fix the return value in case of error in 'rtw_wx_read32()'

We return 0 unconditionally in 'rtw_wx_read32()'.
However, 'ret' is set to some error codes in several error handling paths.

Return 'ret' instead to propagate the error code.

Fixes: 554c0a3abf216 ("staging: Add rtl8723bs sdio wifi driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>