linux/drivers/net/wireless/ti
Andrzej Hajda 68f37e5d7a wlcore: fix error handling in wlcore_event_fw_logger
wlcore_read/wlcore_write can return negative values so it should
be assigned to signed variable.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2120705

Fixes: 3719c17e18 ("wlcore/wl18xx: fw logger over sdio")
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-01-29 11:14:57 +02:00
..
wl12xx wlcore: split wl12xx/wl18xx sg parameters 2015-12-11 13:10:59 +02:00
wl18xx wlcore/wl18xx: fw logger over sdio 2015-12-31 10:19:47 +02:00
wl1251 ti: unify Kconfig with other vendors 2015-11-18 14:28:31 +02:00
wlcore wlcore: fix error handling in wlcore_event_fw_logger 2016-01-29 11:14:57 +02:00
Kconfig ti: unify Kconfig with other vendors 2015-11-18 14:28:31 +02:00
Makefile wlcore: move wl12xx_platform_data up and make it truly optional 2013-02-08 10:05:02 +02:00
wilink_platform_data.c wlcore: remove wl12xx_platform_data 2015-03-24 09:48:14 -07:00