commit | 48c6b5c9c1180b7f8b35edeaef9b3aa3e3b6c9d5 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | Thu Apr 26 08:13:24 2018 -0500 |
committer | Kalle Valo <kvalo@codeaurora.org> | Mon Apr 30 13:33:44 2018 +0300 |
tree | 2333df8a6d2cbec45d2fd555507b205f9fa34282 | |
parent | e1fd7ceec194225a822760a40dfa73efdd59881b [diff] |
rsi_91x: fix uninitialized variable There is a potential execution path in which variable ret is returned without being properly initialized previously. Fix this by storing the value returned by function rsi_usb_master_reg_write into _ret_. Addresses-Coverity-ID: 1468407 ("Uninitialized scalar variable") Fixes: 16d3bb7b2f37 ("rsi: disable fw watchdog timer during reset") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>