[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <21a075b9-8a2e-4b55-b63d-fedce36e7260@gmail.com>
Date: Mon, 14 Jul 2025 10:31:45 +0530
From: Purva Yeshi <purvayeshi550@...il.com>
To: Jens Axboe <axboe@...nel.dk>, efremov@...ux.com
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] block: floppy: Fix uninitialized use of outparam
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
Powered by blists - more mailing lists