linux/drivers/hid/intel-ish-hid
SurajSonawane2415 d41bff05a6 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: stable@vger.kernel.org
Fixes: 91b228107d ("HID: intel-ish-hid: ISH firmware loader client driver")
Signed-off-by: SurajSonawane2415 <surajsonawane0215@gmail.com>
Link: https://patch.msgid.link/20241004075944.44932-1-surajsonawane0215@gmail.com
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
2024-10-04 10:33:11 +02:00
..
ipc hid: intel-ish-hid: Add support for vendor customized firmware loading 2024-08-19 21:12:27 +02:00
ishtp Merge branch 'for-6.12/intel-ish' into for-linus 2024-09-13 15:20:01 +02:00
ishtp-fw-loader.c hid: intel-ish-hid: Fix uninitialized variable 'rv' in ish_fw_xfer_direct_dma 2024-10-04 10:33:11 +02:00
ishtp-hid-client.c HID: intel-ish-hid: ishtp-hid-client: use helper functions for connection 2023-12-06 11:33:45 +01:00
ishtp-hid.c HID: intel-ish-hid: Constify lowlevel HID driver 2023-02-06 15:08:44 +01:00
ishtp-hid.h HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo 2022-08-25 11:35:44 +02:00
Kconfig HID: stop drivers from selecting CONFIG_HID 2023-01-18 16:14:04 +01:00
Makefile Kbuild updates for v6.10 2024-05-18 12:39:20 -07:00