Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1321599

Re: wlcore: fix error handling in wlcore_event_fw_logger

From Kalle Valo <kvalo@codeaurora.org>
Newsgroups linux.kernel
Subject Re: wlcore: fix error handling in wlcore_event_fw_logger
Date 2016-01-29 10:20 +0100
Message-ID <qWdnH-zP-7@gated-at.bofh.it> (permalink)
References <qOiNA-eq-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> 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: 3719c17e1816 ("wlcore/wl18xx: fw logger over sdio")
> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: wlcore: fix error handling in wlcore_event_fw_logger Kalle Valo <kvalo@codeaurora.org> - 2016-01-29 10:20 +0100

csiph-web