mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Purva Yeshi <purvayeshi550@gmail.com>
To: Jens Axboe <axboe@kernel.dk>, efremov@linux.com
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] block: floppy: Fix uninitialized use of outparam
Date: Mon, 14 Jul 2025 10:31:45 +0530	[thread overview]
Message-ID: <21a075b9-8a2e-4b55-b63d-fedce36e7260@gmail.com> (raw)
In-Reply-To: <175243012818.93872.4165824196717735145.b4-ty@kernel.dk>

On 13/07/25 23:38, Jens Axboe wrote:
> 
> On Sun, 13 Jul 2025 12:30:20 +0530, Purva Yeshi wrote:
>> Fix Smatch-detected error:
>> drivers/block/floppy.c:3569 fd_locked_ioctl() error:
>> uninitialized symbol 'outparam'.
>>
>> Smatch may incorrectly warn about uninitialized use of 'outparam'
>> in fd_locked_ioctl(), even though all _IOC_READ commands guarantee
>> its initialization. Initialize outparam to NULL to make this explicit
>> and suppress the false positive.
>>
>> [...]
> 
> Applied, thanks!
> 
> [1/1] block: floppy: Fix uninitialized use of outparam
>        commit: cb1bdf0797acd79c53a899f72a06ab8c1ebc5bcb
> 
> Best regards,

Hi Jens,

Thank you for applying the patch.

Best regards,
Purva Yeshi

      reply	other threads:[~2025-07-14  5:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-13  7:00 Purva Yeshi
2025-07-13  8:47 ` Denis Efremov
2025-07-14  5:00   ` Purva Yeshi
2025-07-13 18:08 ` Jens Axboe
2025-07-14  5:01   ` Purva Yeshi [this message]

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=21a075b9-8a2e-4b55-b63d-fedce36e7260@gmail.com \
    --to=purvayeshi550@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=efremov@linux.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®