diff options
author | Purva Yeshi <purvayeshi550@gmail.com> | 2025-07-13 12:30:20 +0530 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-07-13 12:08:31 -0600 |
commit | cb1bdf0797acd79c53a899f72a06ab8c1ebc5bcb (patch) | |
tree | 1c8bf180701abd1742c4cea906ed4bb890644756 /scripts/lib/abi/abi_regex.py | |
parent | 7e49538288e523427beedd26993d446afef1a6fb (diff) |
block: floppy: Fix uninitialized use of outparam
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.
Signed-off-by: Purva Yeshi <purvayeshi550@gmail.com>
Reviewed-by: Denis Efremov <efremov@linux.com>
Link: https://lore.kernel.org/r/20250713070020.14530-1-purvayeshi550@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/lib/abi/abi_regex.py')
0 files changed, 0 insertions, 0 deletions