From: Benjamin Tissoires <bentiss@kernel.org>
To: srinivas.pandruvada@linux.intel.com, jikos@kernel.org,
SurajSonawane2415 <surajsonawane0215@gmail.com>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hid: intel-ish-hid: Fix uninitialized variable 'rv' in ish_fw_xfer_direct_dma
Date: Fri, 04 Oct 2024 10:35:18 +0200 [thread overview]
Message-ID: <172803091828.265218.4350721445359526557.b4-ty@kernel.org> (raw)
In-Reply-To: <20241004075944.44932-1-surajsonawane0215@gmail.com>
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@kernel.org>
next prev parent reply other threads:[~2024-10-04 8:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-04 7:59 [PATCH] hid: intel-ish-hid: Fix uninitialized variable 'rv' in ish_fw_xfer_direct_dma SurajSonawane2415
2024-10-04 8:32 ` Benjamin Tissoires
2024-10-04 8:35 ` Benjamin Tissoires [this message]
2024-10-04 10:20 ` [PATCH] Applied: " SurajSonawane2415
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=172803091828.265218.4350721445359526557.b4-ty@kernel.org \
--to=bentiss@kernel.org \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=srinivas.pandruvada@linux.intel.com \
--cc=surajsonawane0215@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox