diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-04-26 08:13:24 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-04-30 13:33:44 +0300 |
commit | 48c6b5c9c1180b7f8b35edeaef9b3aa3e3b6c9d5 (patch) | |
tree | 2333df8a6d2cbec45d2fd555507b205f9fa34282 /net/sched/cls_basic.c | |
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>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions