mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 16:21:45 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
996d0af0f4
commit
4339450145
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user