diff options
author | SurajSonawane2415 <[email protected]> | 2024-10-04 13:29:44 +0530 |
---|---|---|
committer | Benjamin Tissoires <[email protected]> | 2024-10-04 10:33:11 +0200 |
commit | d41bff05a61fb539f21e9bf0d39fac77f457434e (patch) | |
tree | c0c1c83e93e0be72d612ae1cac77db71621d6c61 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | acd5f76fd5292c91628e04da83e8b78c986cfa2b (diff) |
hid: intel-ish-hid: Fix uninitialized variable 'rv' in ish_fw_xfer_direct_dma
Fix the uninitialized symbol 'rv' in the function ish_fw_xfer_direct_dma
to resolve the following warning from the smatch tool:
drivers/hid/intel-ish-hid/ishtp-fw-loader.c:714 ish_fw_xfer_direct_dma()
error: uninitialized symbol 'rv'.
Initialize 'rv' to 0 to prevent undefined behavior from uninitialized
access.
Cc: [email protected]
Fixes: 91b228107da3 ("HID: intel-ish-hid: ISH firmware loader client driver")
Signed-off-by: SurajSonawane2415 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions