diff options
author | Michael Straube <straube.linux@gmail.com> | 2022-01-07 11:36:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-25 16:13:43 +0100 |
commit | 43394501457ddc90b28dc721cd3cfbf483484f2a (patch) | |
tree | d4ca84e4022c6c9b32d1e9ac257cb182772d6751 /drivers/staging/r8188eu/hal/rtl8188e_hal_init.c | |
parent | 996d0af0f48610bacac8490a5228037d9a209f92 (diff) |
staging: r8188eu: convert type of return variable in load_firmware()
The return type of load_firmware() is int. Change the type of the
return variable from s32 to int to match the function return type.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220107103620.15648-7-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/hal/rtl8188e_hal_init.c')
-rw-r--r-- | drivers/staging/r8188eu/hal/rtl8188e_hal_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c index edb56a9ae283..bd7f3dc5878b 100644 --- a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c +++ b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c @@ -510,7 +510,7 @@ static s32 _FWFreeToGo(struct adapter *padapter) static int load_firmware(struct rt_firmware *pFirmware, struct device *device) { - s32 ret = _SUCCESS; + int ret = _SUCCESS; const struct firmware *fw; const char *fw_name = "rtlwifi/rtl8188eufw.bin"; int err = request_firmware(&fw, fw_name, device); |