mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 08:31:37 +00:00
d41bff05a6
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: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
ipc | ||
ishtp | ||
ishtp-fw-loader.c | ||
ishtp-hid-client.c | ||
ishtp-hid.c | ||
ishtp-hid.h | ||
Kconfig | ||
Makefile |