From: Michael Straube Date: Fri, 7 Jan 2022 10:36:07 +0000 (+0100) Subject: staging: r8188eu: convert type of return variable in load_firmware() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=43394501457ddc90b28dc721cd3cfbf483484f2a;p=linux.git 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 Link: https://lore.kernel.org/r/20220107103620.15648-7-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c index edb56a9ae2838..bd7f3dc5878b8 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);