wlcore: fix return value of wlcore_event_fw_logger
PATCH 1/1 wlcore: fix return value of wlcore_event_fw_logger
The function can return negative values in case of error.
Fixes 3719c17e1816 ("wlcore/wl18xx: fw logger over sdio")
Signed-off-by Guy Mishol <[email protected]>
--- drivers/net/wireless/ti/wlcore/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ti/wlcore/event.c +1 -1
@@ -38,7 +38,7 @@int wlcore_event_fw_logger (struct wl1271 *wl) { -u32 ret; +int ret;struct fw_logger_information fw_log;u8 *buffer;u32 internal_fw_addrbase =WL18XX_DATA_RAM_BASE_ADDRESS ;
Signature · 1 line
2.6.4
Quoted 4 lines · Guy Mishol
The function can return negative values in case of error.
Fixes 3719c17e1816 ("wlcore/wl18xx: fw logger over sdio")Signed-off-by Guy Mishol <[email protected]>
Andrzej already submitted identical patch:
https://patchwork.kernel.org/patch/7977461/
So I'm dropping this.
Signature · 1 line
Kalle Valo
Cool. Thanks!
Sent from my iPhone
Quoted 17 lines · Kalle Valo
Quoted 4 lines · Guy Mishol
The function can return negative values in case of error.
Fixes 3719c17e1816 ("wlcore/wl18xx: fw logger over sdio")Signed-off-by Guy Mishol <[email protected]>Andrzej already submitted identical patch:
https://patchwork.kernel.org/patch/7977461/
So I'm dropping this.
Signature · 1 line
Kalle Valo