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


Groups > linux.kernel > #1321599 > unrolled thread

Re: wlcore: fix error handling in wlcore_event_fw_logger

Started byKalle Valo <kvalo@codeaurora.org>
First post2016-01-29 10:20 +0100
Last post2016-01-29 10:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#1321599 — Re: wlcore: fix error handling in wlcore_event_fw_logger

FromKalle Valo <kvalo@codeaurora.org>
Date2016-01-29 10:20 +0100
SubjectRe: wlcore: fix error handling in wlcore_event_fw_logger
Message-ID<qWdnH-zP-7@gated-at.bofh.it>
> 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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web