[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <172803091828.265218.4350721445359526557.b4-ty@kernel.org>
Date: Fri, 04 Oct 2024 10:35:18 +0200
From: Benjamin Tissoires <bentiss@...nel.org>
To: srinivas.pandruvada@...ux.intel.com, jikos@...nel.org,
SurajSonawane2415 <surajsonawane0215@...il.com>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hid: intel-ish-hid: Fix uninitialized variable 'rv' in
ish_fw_xfer_direct_dma
On Fri, 04 Oct 2024 13:29:44 +0530, SurajSonawane2415 wrote:
> 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.
>
> [...]
Applied to hid/hid.git (for-6.12/upstream-fixes), thanks!
[1/1] hid: intel-ish-hid: Fix uninitialized variable 'rv' in ish_fw_xfer_direct_dma
https://git.kernel.org/hid/hid/c/d41bff05a61f
Cheers,
--
Benjamin Tissoires <bentiss@...nel.org>
Powered by blists - more mailing lists